summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/prc/Makefile
blob: cfa9ac9be5d58a31ba1d933dab7d38ba8e1799e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Makefile.

CFLAGS = -O3 -g -Wall
CXX = g++

test: PRCbitStream oPRCFile PRCdouble writePRC test.cc
	$(CXX) $(CFLAGS) -o test PRCbitStream.o oPRCFile.o PRCdouble.o writePRC.o test.cc -lz

PRCbitStream: PRCbitStream.cc
	$(CXX) $(CFLAGS) -c PRCbitStream.cc -o PRCbitStream.o

oPRCFile: oPRCFile.cc
	$(CXX) $(CFLAGS) -c oPRCFile.cc -o oPRCFile.o

PRCdouble: PRCdouble.cc
	$(CXX) $(CFLAGS) -c PRCdouble.cc -o PRCdouble.o

writePRC: writePRC.cc PRCbitStream
	$(CXX) $(CFLAGS) -c writePRC.cc -o writePRC.o

clean:
	rm -f *.o test.prc test