Commit 82eb1398 authored by Maxime Perrotin's avatar Maxime Perrotin

Update makefile

parent e979576b
......@@ -5,12 +5,12 @@ all:
@echo A testcase can be build from source with "make test"
install:
gprinstall --uninstall asn1_iterators
gprinstall --uninstall asn1_iterators || :
gprbuild -p asn1_iterators.gpr
gprinstall -p -XLIBRARY_TYPE=dynamic --build-name=shared asn1_iterators.gpr
install -m 755 src/taste-asn1-iterators $(ITERATORS_PREFIX)/bin
test_build: clean
test_build: clean install
mkdir -p build_test
cp test/DataView.asn build_test
cd build_test && taste-asn1-iterators DataView.asn
......@@ -20,7 +20,7 @@ test: test_build
build_test/test_generic
clean:
gprclean test_generic.gpr
gprclean asn1_iterators.gpr
gprclean test_generic.gpr || :
gprclean asn1_iterators.gpr || :
.PHONY: all clean install test test_build
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment