File: Makefile.linux

package info (click to toggle)
geotranz 3.7-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 242,380 kB
  • sloc: cpp: 37,618; java: 13,594; javascript: 3,068; makefile: 955; xml: 67; sh: 38; csh: 21
file content (46 lines) | stat: -rwxr-xr-x 1,141 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
###############################################################################
#
#     CLASSIFICATION:  UNCLASSIFIED
#
#     FILENAME:   Makefile.linux
#
#     DESCRIPTION:
#
#     This Makefile is used by make to build the CoordinateConversionSample
#     test driver on Redhat Linux 32-bit using the GNU g++ compiler.
#
#     NOTES:
#
###############################################################################

.SUFFIXES: .cpp

CC = g++

C++FLAGS	= -c -w -fPIC  -m32 -march=pentium4  -pthread -std=gnu++98 -Wno-deprecated

INCDIRS = -I. \
		-I../src/CoordinateConversion \
		-I../src/dtcc/CoordinateSystemParameters \
		-I../src/dtcc/CoordinateSystems \
		-I../src/dtcc/CoordinateTuples \
		-I../src/dtcc/Enumerations \
		-I../src/dtcc/Exception \
		-I../src/dtcc

LDFLAGS	= -m32 -pthread -ldl -L../linux

LDLIBS		= -lMSPdtcc \
		-lMSPCoordinateConversionService


all:	testCoordinateConversionSample

testCoordinateConversionSample: testCoordinateConversionSample.o
	$(CC) testCoordinateConversionSample.o $(LDFLAGS) -o $@ $(LDLIBS)

.cpp.o:
	$(CC) $(C++FLAGS) $(INCDIRS) $< -o $@

clean:
	rm -rf *.o testCoordinateConversionSample