mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 23:43:42 +02:00
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>
This commit is contained in:
parent
08c2b02273
commit
681b190842
7
Makefile
7
Makefile
@ -46,10 +46,10 @@ flashrom.o: flashrom.c
|
|||||||
$(CC) -c $(CFLAGS) $(SVNDEF) $(CPPFLAGS) $< -o $@
|
$(CC) -c $(CFLAGS) $(SVNDEF) $(CPPFLAGS) $< -o $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o *~
|
rm -f $(PROGRAM) *.o *~
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f $(PROGRAM) .dependencies
|
rm -f .dependencies
|
||||||
|
|
||||||
dep:
|
dep:
|
||||||
@$(CC) -MM *.c > .dependencies
|
@$(CC) -MM *.c > .dependencies
|
||||||
@ -68,11 +68,10 @@ pciutils:
|
|||||||
@rm -f .test.c .test
|
@rm -f .test.c .test
|
||||||
|
|
||||||
install: $(PROGRAM)
|
install: $(PROGRAM)
|
||||||
$(INSTALL) flashrom $(PREFIX)/sbin
|
$(INSTALL) $(PROGRAM) $(PREFIX)/sbin
|
||||||
mkdir -p $(PREFIX)/share/man/man8
|
mkdir -p $(PREFIX)/share/man/man8
|
||||||
$(INSTALL) $(PROGRAM).8 $(PREFIX)/share/man/man8
|
$(INSTALL) $(PROGRAM).8 $(PREFIX)/share/man/man8
|
||||||
|
|
||||||
.PHONY: all clean distclean dep pciutils
|
.PHONY: all clean distclean dep pciutils
|
||||||
|
|
||||||
-include .dependencies
|
-include .dependencies
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user