]> git.armaanb.net Git - sic.git/blobdiff - Makefile
applied Eric's config.def.h patch
[sic.git] / Makefile
index d77b4f218721fef253b1261598b0037dc8d731dd..6fdcfbb7dcfa5c509052ef11605070475f205022 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,11 @@ options:
        @echo CC $<
        @${CC} -c ${CFLAGS} $<
 
-${OBJ}: config.mk util.c
+${OBJ}: config.h config.mk util.c
+
+config.h:
+       @echo creating $@ from config.def.h
+       @cp config.def.h $@
 
 sic: ${OBJ}
        @echo CC -o $@