File: Makefile

package info (click to toggle)
bulletml 0.0.6-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 932 kB
  • sloc: cpp: 7,706; xml: 810; perl: 184; makefile: 179; yacc: 125
file content (22 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CXX=g++
DMD=dmd
PERL=perl
CPPFLAGS=-g
DFLAGS=-g

all: cpp_test

cpp_test: cpp.o cpp_test.o
	$(DMD) cpp_test $(CPPFLAGS) cpp.o 

cpp.o: d_cpp_interface.h cpp.cpp
	$(CXX) $(CPPFLAGS) -c cpp.cpp

cpp_test.o: cpp_inter.d cpp_test.d
	$(DMD) $(DFLAGS) -c cpp_test.d

cpp_inter.d: cpp.cpp
	$(PERL) create_d_import.pl cpp.cpp cpp_inter.d

clean:
	rm -f *.o cpp_test cpp_inter.d