use vars in makefiles i guess
This commit is contained in:
parent
434f0e08d1
commit
df3505a04c
3 changed files with 14 additions and 10 deletions
16
Makefile
16
Makefile
|
@ -9,15 +9,19 @@ lib:
|
|||
|
||||
.PHONY: exe
|
||||
exe:
|
||||
make -C exe exe
|
||||
$(MAKE) -C exe exe
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
make -C tests test
|
||||
$(MAKE) -C tests test
|
||||
|
||||
.PHONY: prove
|
||||
prove:
|
||||
$(MAKE) -C tests prove
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf build depends
|
||||
rm -f quox
|
||||
make -C exe clean
|
||||
make -C tests clean
|
||||
$(RM) -r build depends
|
||||
$(RM) quox
|
||||
$(MAKE) -C exe clean
|
||||
$(MAKE) -C tests clean
|
||||
|
|
|
@ -2,7 +2,7 @@ all: test
|
|||
|
||||
.PHONY: lib
|
||||
lib:
|
||||
make -C .. lib
|
||||
$(MAKE) -C .. lib
|
||||
|
||||
depends/quox: lib
|
||||
mkdir -p depends
|
||||
|
@ -14,4 +14,4 @@ exe: depends/quox
|
|||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf build depends
|
||||
$(RM) -r build depends
|
||||
|
|
|
@ -2,7 +2,7 @@ all: test
|
|||
|
||||
.PHONY: lib
|
||||
lib:
|
||||
make -C .. lib
|
||||
$(MAKE) -C .. lib
|
||||
|
||||
depends/quox: lib
|
||||
mkdir -p depends
|
||||
|
@ -23,4 +23,4 @@ prove: build-tests
|
|||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf build depends
|
||||
$(RM) -r build depends
|
||||
|
|
Loading…
Reference in a new issue