Commit 681b1908 authored by Peter Stuge's avatar Peter Stuge
Browse files

Some Makefile cleaning


Corresponding to flashrom svn r267 and coreboot v2 svn r3378.
Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
Acked-by: default avatarPeter Stuge <peter@stuge.se>
parent 08c2b022
......@@ -46,11 +46,11 @@ flashrom.o: flashrom.c
$(CC) -c $(CFLAGS) $(SVNDEF) $(CPPFLAGS) $< -o $@
clean:
rm -f *.o *~
rm -f $(PROGRAM) *.o *~
distclean: clean
rm -f $(PROGRAM) .dependencies
rm -f .dependencies
dep:
@$(CC) -MM *.c > .dependencies
......@@ -68,11 +68,10 @@ pciutils:
@rm -f .test.c .test
install: $(PROGRAM)
$(INSTALL) flashrom $(PREFIX)/sbin
$(INSTALL) $(PROGRAM) $(PREFIX)/sbin
mkdir -p $(PREFIX)/share/man/man8
$(INSTALL) $(PROGRAM).8 $(PREFIX)/share/man/man8
.PHONY: all clean distclean dep pciutils
-include .dependencies
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment