diff options
author | thing1 <thing1@seacrossedlovers.xyz> | 2025-03-14 17:37:27 +0000 |
---|---|---|
committer | thing1 <thing1@seacrossedlovers.xyz> | 2025-03-14 17:37:27 +0000 |
commit | af780dc32cbc9d9a40bec1e2ea538e71001c36aa (patch) | |
tree | 6e1386faa63125ba5537e923b933868699df3156 /Makefile |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
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 |