flashrom: Some Makefile cleaning

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3378 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Peter Stuge 2008-06-22 02:00:39 +00:00
parent 8239a1b2fd
commit a6b6711cf7
1 changed files with 4 additions and 5 deletions

View File

@ -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