Makefile: add rule to create default config

This commit is contained in:
Ivan Kanakarakis 2012-07-17 14:35:16 +03:00
parent 4701b3521c
commit 8317a261c0

View File

@ -17,6 +17,12 @@ all: ${EXEC}
.c.o:
${CC} ${CFLAGS} -o $@ -c $<
${OBJS}: config.h
config.h:
@echo creating $@ from config.def.h
@cp config.def.h $@
${EXEC}: ${OBJS}
${CC} ${LDFLAGS} -o ${EXEC} ${OBJS}
${STRIP} -s ${EXEC}