summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-09-10 18:36:16 +0200
committerMartin Roth <martinroth@google.com>2016-09-12 20:03:28 +0200
commit746b6abea51105c97ee7106bb5d4621213ada7e7 (patch)
tree79c9c107e45c9dd93aeb265b9b3c917f5dcab713
parentd12ea11c0194e07f7d162fe1d46ce1575b1765dd (diff)
downloadcoreboot-746b6abea51105c97ee7106bb5d4621213ada7e7.tar.xz
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>
-rw-r--r--util/ifdtool/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/util/ifdtool/Makefile b/util/ifdtool/Makefile
index 7a1bcfac46..77547efc36 100644
--- a/util/ifdtool/Makefile
+++ b/util/ifdtool/Makefile
@@ -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