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

Update makefile

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