Makefile: add rule to create default config
This commit is contained in:
parent
4701b3521c
commit
8317a261c0
6
Makefile
6
Makefile
|
@ -17,6 +17,12 @@ all: ${EXEC}
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} -o $@ -c $<
|
${CC} ${CFLAGS} -o $@ -c $<
|
||||||
|
|
||||||
|
${OBJS}: config.h
|
||||||
|
|
||||||
|
config.h:
|
||||||
|
@echo creating $@ from config.def.h
|
||||||
|
@cp config.def.h $@
|
||||||
|
|
||||||
${EXEC}: ${OBJS}
|
${EXEC}: ${OBJS}
|
||||||
${CC} ${LDFLAGS} -o ${EXEC} ${OBJS}
|
${CC} ${LDFLAGS} -o ${EXEC} ${OBJS}
|
||||||
${STRIP} -s ${EXEC}
|
${STRIP} -s ${EXEC}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user