From a6b6711cf78de3dbbad8502d1b6532681bf1cdfb Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Sun, 22 Jun 2008 02:00:39 +0000 Subject: [PATCH] flashrom: Some Makefile cleaning Signed-off-by: Peter Stuge Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3378 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/util/flashrom/Makefile b/util/flashrom/Makefile index a0222b4da4..26b3916163 100644 --- a/util/flashrom/Makefile +++ b/util/flashrom/Makefile @@ -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 -