Commit c31f016d authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add debug flag to makefiles

parent cd182a40
......@@ -16,19 +16,19 @@ clean:
%.o: %.pr FORCE
$(OPENGEODE) $< system_structure.pr --llvm -O$(O)
$(LLC) $*.ll
$(CC) -O$(O) -c $*.s
$(CC) -O$(O) -c -g $*.s
%.ali: %.pr FORCE
$(OPENGEODE) $< system_structure.pr --toAda
$(ASN1SCC) -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
$(GNATMAKE) -O$(O) -c *.adb
$(GNATMAKE) -O$(O) -c -g *.adb
%.o: %.asn FORCE
$(ASN1SCC) -c $< -typePrefix asn1Scc -equal
$(CC) -O$(O) -c $*.c
$(CC) -O$(O) -c -g $*.c
%.o: %.c FORCE
$(CC) -O$(O) -c $<
$(CC) -O$(O) -c -g $<
FORCE:
......
......@@ -18,10 +18,10 @@ test-llvm: orchestrator.o
test-python:
$(OPENGEODE) orchestrator.pr system_structure.pr --shared
$(ASN1SCC) -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
$(GNATMAKE) -O$(O) -c *.adb
$(GNATMAKE) -O$(O) -gnat2012 -c *.adb
$(GNATBIND) -n -Lliborchestrator orchestrator
$(GNATMAKE) -c b~orchestrator.adb
$(CC) -shared -o liborchestrator.so b~orchestrator.o orchestrator.o taste_basictypes.o adaasn1rtl.o -lgnat
$(GNATMAKE) -c -gnat2012 b~orchestrator.adb
$(CC) -shared -fPIC -o liborchestrator.so b~orchestrator.o orchestrator.o taste_basictypes.o adaasn1rtl.o -lgnat
python -c "from ctypes import *; test=CDLL('./liborchestrator.so'); test.liborchestratorinit()"
coverage:
......
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