Commit 76dab5cd authored by Maxime Perrotin's avatar Maxime Perrotin

use $(shell ....) in generated Makefile

parent 8eaf970c
...@@ -45,7 +45,7 @@ clean: ...@@ -45,7 +45,7 @@ clean:
@rm -rf *.o *.ad? *.ali bin examiner *.idx *_simu.sh *_interface.aadl *.wrn *.gpr gnat.cfg runSpark.sh lib{name}.so @rm -rf *.o *.ad? *.ali bin examiner *.idx *_simu.sh *_interface.aadl *.wrn *.gpr gnat.cfg runSpark.sh lib{name}.so
build: build:
mono $(which asn1.exe) -Ada -typePrefix asn1Scc -equal {asn1} mono $(shell which asn1.exe) -Ada -typePrefix asn1Scc -equal {asn1}
gnatmake -gnat2012 -c -fPIC {name}.adb gnatmake -gnat2012 -c -fPIC {name}.adb
gnatbind -n -Llib{name} {name} gnatbind -n -Llib{name} {name}
gnatmake -c -gnat2012 -fPIC b~{name}.adb gnatmake -c -gnat2012 -fPIC b~{name}.adb
......
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