From 49d4f7867927a47d9a9b598236f76b509cc9b7b5 Mon Sep 17 00:00:00 2001 From: tslil Date: Tue, 22 Dec 2020 22:40:31 -0500 Subject: Init --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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) -- cgit v1.2.3