mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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:
parent
6dfadb37df
commit
4b3fdf9cda
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue