build: fix stray mod to object rule causing full rebuild everytime
This commit is contained in:
parent
474e1b71dc
commit
9aa070021c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -274,7 +274,7 @@ ${PROG}: check_config $(OBJS) $(ALLDEPS)
|
|||
$(CC) -o $@ $(OBJS) $(CFLAGS) $(LDFLAGS)
|
||||
|
||||
# Object
|
||||
${BUILDDIR}/%.o: %.c $(BUILDDIR)
|
||||
${BUILDDIR}/%.o: %.c
|
||||
@mkdir -p $(dir $@)
|
||||
$(CC) -MD -MP $(CFLAGS) -c -o $@ $<
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue