summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorthing1 <thing1@seacrossedlovers.xyz>2025-03-14 17:37:27 +0000
committerthing1 <thing1@seacrossedlovers.xyz>2025-03-14 17:37:27 +0000
commitaf780dc32cbc9d9a40bec1e2ea538e71001c36aa (patch)
tree6e1386faa63125ba5537e923b933868699df3156 /Makefile
init commitHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e1233e9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+CFLAGS=-ggdb
+
+SRC := lex.c parse.c cc.c
+OBJ := ${SRC:.c=.o}
+
+all: cc
+
+.c.o:
+ cc -c ${CFLAGS} $<
+cc: ${OBJ}
+ cc -o $@ ${OBJ}
+clean:
+ rm -rf *.o cc