commit 972e2fc

uint  ·  2026-05-03 22:39:39 +0000 UTC
parent 3d24039
add Makefile
1 files changed,  +18, -0
+18, -0
 1@@ -0,0 +1,18 @@
 2+CC = cc
 3+
 4+CFLAGS = -std=c99 -Wall -Wextra
 5+CPPFLAGS =
 6+
 7+SRCS = source/cterm.c
 8+OUT = cterm
 9+
10+all:
11+	${CC} ${SRCS} -o ${OUT}
12+
13+clean:
14+	rm -f ${OUT}
15+
16+compile_flags:
17+	rm -f compile_flags.txt
18+	for f in ${CPPFLAGS} ${CFLAGS}; do echo $$f >> compile_flags.txt; done
19+