ifdtool/Makefile: use static dependencies

The generated dependencies doesn't work when
used together with our main build system.

Change-Id: I93d26858e961d7e275d586a1b8a26b3d33f3bd41
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-on: https://review.coreboot.org/16572
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Alexander Couzens 2016-09-10 18:36:16 +02:00 committed by Martin Roth
parent d12ea11c01
commit 746b6abea5
1 changed files with 3 additions and 4 deletions

View File

@ -30,17 +30,16 @@ $(PROGRAM): $(OBJS)
clean:
rm -f $(PROGRAM) *.o *~
distclean: clean
rm -f .dependencies
dep:
@$(CC) $(CFLAGS) -MM *.c > .dependencies
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
install: $(PROGRAM)
mkdir -p $(DESTDIR)$(PREFIX)/bin
$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
.PHONY: all clean distclean dep
-include .dependencies