commit b58ae05
uint
·
2026-07-14 14:27:02 +0000 UTC
parent 3c956e0
use config.def.h
3 files changed,
+3,
-0
+1,
-0
1@@ -7,4 +7,5 @@ platform.mk
2 *.ttf
3 *.bdf
4 *.tar
5+./config.h
6
M
Makefile
+2,
-0
1@@ -15,9 +15,11 @@ SRCS = source/cterm.c \
2 OUT = cterm
3
4 all:
5+ if [ ! -e config.h ]; then cp config.def.h config.h; fi
6 ${CC} ${CFLAGS} -Os ${CPPFLAGS} ${SRCS} ${LDFLAGS} -o ${OUT} ${LDLIBS}
7
8 debug:
9+ if [ ! -e config.h ]; then cp config.def.h config.h; fi
10 ${CC} ${CFLAGS} -g ${CPPFLAGS} ${SRCS} ${LDFLAGS} -o ${OUT} ${LDLIBS}
11
12 clean:
R config.h =>
config.def.h
+0,
-0