aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2008-06-22 02:00:39 +0000
committerPeter Stuge <peter@stuge.se>2008-06-22 02:00:39 +0000
commit681b19084276c7142a7061f95913bcef94767716 (patch)
tree1c67938b3256e1f8985e9034af7822ac3670d184
parent08c2b02273fd564e9d272036967b99b0628f61c1 (diff)
downloadflashrom-681b19084276c7142a7061f95913bcef94767716.tar.gz
flashrom-681b19084276c7142a7061f95913bcef94767716.tar.bz2
flashrom-681b19084276c7142a7061f95913bcef94767716.zip
Some Makefile cleaning
Corresponding to flashrom svn r267 and coreboot v2 svn r3378. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a0222b4d..26b39161 100644
--- a/Makefile
+++ b/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
-