makefile phony targets
This commit is contained in:
parent
b4996e84c8
commit
82e5c3ef93
5 changed files with 49 additions and 463 deletions
|
@ -38,6 +38,8 @@ OBJECTS_CLI = cli.o ui/view.o ui/view_selection.o ui/view_promt.o ui/view_info
|
|||
|
||||
# *** TARGETS ***
|
||||
|
||||
.PHONY: $(OUT_TMP_DRV) clean help
|
||||
|
||||
all: drv cli style doc
|
||||
|
||||
drv: $(OBJECTS_DRV) $(OUT_TMP_DRV)
|
||||
|
@ -78,7 +80,7 @@ help:
|
|||
@echo "make install . to install or update the lib and headers on this machine"
|
||||
@echo "make uninstall to remove the lib and headers on this machine"
|
||||
@echo "make clean ... to delete objects and executables"
|
||||
|
||||
|
||||
clean:
|
||||
@echo "Cleaning..."
|
||||
rm -f $(OBJECTS_DRV) $(OBJECTS_CLI) $(OUT_TMP_CLI) $(OUT_TMP_DRV)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue