Removed the rule for building database.h from rules.mak and
instead created a dependency on database.h for compiling any source file. This should (I hope) avoid conflicts when running "make" with the "-j" option for parallel compilation.
This commit is contained in:
parent
d08593997a
commit
93d25e7cf7
|
|
@ -20,7 +20,7 @@ ${DEPEND_FILE}:
|
|||
# Original Depend file generating line:
|
||||
# ${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${DEPEND_FLAG} ${SRCS} > ${DEPEND_FILE}
|
||||
|
||||
.c.o:
|
||||
.c.o: ../database/database.h
|
||||
@echo --- compiling ${MODULE}/$*.o
|
||||
${RM} $*.o
|
||||
${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} -c $*.c
|
||||
|
|
@ -47,10 +47,6 @@ ${DESTDIR}${BINDIR}/${MODULE}${EXEEXT}: ${MODULE}${EXEEXT}
|
|||
${RM} ${DESTDIR}${BINDIR}/${MODULE}${EXEEXT}
|
||||
${CP} ${MODULE}${EXEEXT} ${DESTDIR}${BINDIR}
|
||||
|
||||
../database/database.h: ../database/database.h.in
|
||||
@echo --- making header file database/database.h
|
||||
${SCRIPTS}/makedbh ../database/database.h.in ../database/database.h
|
||||
|
||||
clean:
|
||||
${RM} ${CLEANS}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue