From 72770394480e1dadeb6a7a23f30c5e0fe5416c64 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 27 Apr 2021 12:18:13 +0000 Subject: add Makefile --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bd26c86 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +CC = gcc +CFLAGS = -Wall -g +SOURCES = xstring.c ctimeline.c +OBJECTS = ${SOURCES:.c=.o} +EXECUTABLE = app + +all: + @$(CC) $(DEFINES) $(CFLAGS) -c $(SOURCES) + @$(CC) $(DEFINES) $(CFLAGS) -o $(EXECUTABLE) $(OBJECTS) -- cgit v1.2.3-18-g5258