summaryrefslogtreecommitdiff
path: root/ortho/debug/Makefile
diff options
context:
space:
mode:
authorgingold2005-10-26 04:01:32 +0000
committergingold2005-10-26 04:01:32 +0000
commit89024703a19d25c51f9c10d00a7f6cad15e6c952 (patch)
tree2c086ab30f8288c10d5f24ad0dca3ac463620d28 /ortho/debug/Makefile
parent3837df869927b515563a33e6732d1da35c262c68 (diff)
downloadghdl-89024703a19d25c51f9c10d00a7f6cad15e6c952.tar.gz
ghdl-89024703a19d25c51f9c10d00a7f6cad15e6c952.tar.bz2
ghdl-89024703a19d25c51f9c10d00a7f6cad15e6c952.zip
ortho/debug and ortho/oread added
Diffstat (limited to 'ortho/debug/Makefile')
-rw-r--r--ortho/debug/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/ortho/debug/Makefile b/ortho/debug/Makefile
new file mode 100644
index 0000000..8bb4ffc
--- /dev/null
+++ b/ortho/debug/Makefile
@@ -0,0 +1,29 @@
+BE=debug
+ortho_srcdir=..
+
+orthobe_srcdir=$(ortho_srcdir)/$(BE)
+
+GNATMAKE=gnatmake
+CC=gcc
+CFLAGS=-g
+ALL_GNAT_FLAGS=-pipe -g -gnato -gnatwl -gnatf -gnaty3befhkmr -gnatwu
+GNATMAKE_FLAGS=-m $(ALL_GNAT_FLAGS) $(GNAT_FLAGS) -aI$(ortho_srcdir) -aI$(orthobe_srcdir) -aI.
+#LARGS=-largs -static
+SED=sed
+
+all: $(ortho_exec)
+
+
+$(ortho_exec): force $(orthobe_srcdir)/ortho_debug.ads
+ gnatmake -o $@ $(GNATMAKE_FLAGS) ortho_debug-main -bargs -E $(LARGS)
+
+clean:
+ $(RM) -f *.o *.ali *~ b~*.ad? ortho_nodes-main
+ $(RM) $(orthobe_srcdir)/ortho_debug.ads
+
+force:
+
+ORTHO_PACKAGE=Ortho_Debug
+ORTHO_BASENAME=$(orthobe_srcdir)/ortho_debug
+
+include $(ortho_srcdir)/Makefile.inc \ No newline at end of file