diff options
author | Peter Stuge <peter@stuge.se> | 2008-06-22 02:00:39 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2008-06-22 02:00:39 +0000 |
commit | a6b6711cf78de3dbbad8502d1b6532681bf1cdfb (patch) | |
tree | cf38a3ef04950dad57e99b70c8df1a63005d60b7 /util/flashrom/Makefile | |
parent | 8239a1b2fde46b0fb22853de6def52211b0127cd (diff) |
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
Diffstat (limited to 'util/flashrom/Makefile')
-rw-r--r-- | util/flashrom/Makefile | 9 |
1 files 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 - |