aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-04-27 12:18:13 +0000
committerJoursoir <chat@joursoir.net>2021-04-27 12:18:13 +0000
commit72770394480e1dadeb6a7a23f30c5e0fe5416c64 (patch)
tree5fb03edd00c5c42d13b5da092477d79467de6176 /Makefile
parentf3b075b90245db332181d1689916c0c4c6e6b620 (diff)
downloadctimeline-72770394480e1dadeb6a7a23f30c5e0fe5416c64.tar.gz
ctimeline-72770394480e1dadeb6a7a23f30c5e0fe5416c64.tar.bz2
ctimeline-72770394480e1dadeb6a7a23f30c5e0fe5416c64.zip
add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
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)