diff options
| author | tslil <tslil@posteo.de> | 2020-12-22 22:40:31 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 49d4f7867927a47d9a9b598236f76b509cc9b7b5 (patch) | |
| tree | 5001e2d8e8366200a9f61e939429f4629a6dff9d /Makefile | |
Init
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..afc530a --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +IDIR=include +CFLAGS=-g -Wall -I$(IDIR) +LIBS= + +SRCS=$(wildcard src/*.c) $(wildcard include/*.c) +OBJS=$(SRCS:.c=.o) + +PROG=ctaklm + +%.o: %.c + cc -c $< -o $@ $(CFLAGS) + +$(PROG): $(OBJS) + $(CC) $(CFLAGS) $(OBJS) -o $(PROG) + +clean: + rm -f $(PROG) + rm -f $(OBJS) |
