File: Makefile

package info (click to toggle)
libtexttools 2.0.3-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,188 kB
  • ctags: 635
  • sloc: ada: 13,120; cpp: 1,679; ansic: 777; makefile: 156; sh: 2
file content (16 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

all: common_test adafiles
	c++ -c t.cc
	gnatbind -n ../cpp
	gnatgcc -c b~cpp.adb
	gnatlink -o t t.o ../C_code/*.o ../cpp.ali -lncurses -lm --link=c++

common_test: common_test.cpp
	c++ -c common_test.cpp
	gnatbind -n ../cpp
	gnatgcc -c b~cpp.adb
	gnatlink -o common_test common_test.o ../C_code/*.o ../cpp.ali -lncurses -lm --link=c++

adafiles:
	gnatmake -c -i -O1 -gnataon -I.. cpp.ads