UPSTREAM: ifdtool/Makefile: use static dependencies

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

BUG=None
BRANCH=None
TEST=None

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>

Change-Id: I93d26858e961d7e275d586a1b8a26b3d33f3bd41
Reviewed-on: https://chromium-review.googlesource.com/384971
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Alexander Couzens 2016-09-10 18:36:16 +02:00 committed by chrome-bot
parent 6dfadb37df
commit 4b3fdf9cda

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