Skip to content

Commit a46be16

Browse files
committed
make: fix posix warning ignoring prerequisites on suffix rule definition
1 parent d55c082 commit a46be16

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,26 +234,26 @@ ifneq (${FPIC},)
234234
@${CC} -c ${FPIC} ${CFLAGS} ${INCS} -o $@ $<
235235
endif
236236

237-
.c.i: core/config.h
237+
.c.i:
238238
@${ECHO} CPP $@
239239
@${CC} -c ${CFLAGS} ${INCS} -o $@ -E -c $<
240-
.c.in: core/config.h
240+
.c.in:
241241
@${ECHO} CPP ASTYLE $@
242242
@${CC} -c ${CFLAGS} ${INCS} -E -c $< | perl -pe's,^# (\d+) ",//# \1 ",' > $@.tmp && \
243243
astyle -s2 < $@.tmp > $@
244-
.c.o: core/config.h
244+
.c.o:
245245
@${ECHO} CC $@
246246
@${CC} -c ${CFLAGS} ${INCS} -o $@ $<
247247
ifneq (${FPIC},)
248-
.c.${OPIC}: core/config.h
248+
.c.${OPIC}:
249249
@${ECHO} CC $@
250250
@${CC} -c ${FPIC} ${CFLAGS} ${INCS} -o $@ $<
251251
endif
252252

253253
%.c: %.y ${GREGCROSS}
254254
@${ECHO} GREG $@
255255
@${GREGCROSS} $< > $@-new && ${MV} $@-new $@
256-
.y.c: ${GREGCROSS}
256+
.y.c:
257257
@${ECHO} GREG $@
258258
@${GREGCROSS} $< > $@-new && ${MV} $@-new $@
259259

0 commit comments

Comments
 (0)