Use git for clean

Set GPR_PROJECT_PATH in Makefie
This commit is contained in:
Per Sandberg 2016-10-30 09:14:35 +01:00
parent a4211d7a4a
commit 475adbb9c2
1 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
-include Makefile.config
export GPR_PROJECT_PATH:=${CURDIR}
all: compile
Makefile.config: configure
@ -44,9 +44,7 @@ generate:
gnat pretty -P zmq.gpr -rf -M128 src/gen/*.ads
clean:
rm -rf .obj
${MAKE} -C tests clean
git clean -fXd
test:
${MAKE} -C tests
dist:
@ -57,3 +55,6 @@ dist:
rm -rf .dist/zeromq-ada-$(shell helpers/getinfo --binding-version)/.git
cd .dist; tar -czf ../zeromq-ada-$(shell helpers/getinfo --binding-version).tgz *
rm -rf .dist
gps:
gps -P tests/zmq-tests.gpr