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
|