X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=Makefile;h=5a98461fc8e12607447a00394472efd6035a107f;hb=a1b70380dbfc83b2044cad3ce46f68e2878dd976;hp=6dc19fa5b03376c10e205e888e38562808a1f231;hpb=b6e181e82acc2f20085410f720b8ceeed8a8cbe3;p=surf.git diff --git a/Makefile b/Makefile index 6dc19fa..5a98461 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,11 @@ options: @echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: config.mk +${OBJ}: config.h config.mk + +config.h: + @echo creating $@ from config.def.h + @cp config.def.h $@ surf: ${OBJ} @echo CC -o $@