added config.def.h handling and fixed typo

This commit is contained in:
Aaron Marcher
2016-03-04 18:36:47 +01:00
committed by Aaron Marcher (drkhsh)
parent 94ea78f0fe
commit 864f2246b5
5 changed files with 22 additions and 2 deletions

View File

@ -17,7 +17,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 $@
${NAME}: ${OBJ}
@echo CC -o $@