| 1 |
#---------------------------------------------------------------------------------- |
| 2 |
# Make File for synop_tools |
| 3 |
#---------------------------------------------------------------------------------- |
| 4 |
|
| 5 |
GCC = gcc |
| 6 |
CXX = g++ |
| 7 |
|
| 8 |
INCLUDE = -I../ -I../include -I../libtiniconv -I../irrxml |
| 9 |
|
| 10 |
OPTIM = -O2 -Wunused -fexceptions -Wno-deprecated |
| 11 |
CXXFLAGS = $(OPTIM) $(INCLUDE) \ |
| 12 |
-DLOCALEDIR=\"/usr/local/share/locale\" \ |
| 13 |
-DPKGDATADIR=\"/usr/local/share/data\" |
| 14 |
CFLAGS = $(CXXFLAGS) |
| 15 |
|
| 16 |
# libraries to link with: |
| 17 |
LIBS = -lpthread -ldl -lm -lrt |
| 18 |
|
| 19 |
# ---------------------------------------------------------------------------------- |
| 20 |
|
| 21 |
.SUFFIXES: .cxx .o |
| 22 |
|
| 23 |
all: synop_tool |
| 24 |
|
| 25 |
synop_tool.o: synop_tool.cxx |
| 26 |
$(CXX) $(CXXFLAGS) -c $< |
| 27 |
|
| 28 |
synop.o: synop.cxx |
| 29 |
$(CXX) $(CXXFLAGS) -c $< |
| 30 |
|
| 31 |
coordinate.o: ../misc/coordinate.cxx |
| 32 |
$(CXX) $(CXXFLAGS) -c $< |
| 33 |
|
| 34 |
kmlserver.o: ../misc/kmlserver.cxx |
| 35 |
$(CXX) $(CXXFLAGS) -c $< |
| 36 |
|
| 37 |
irrXML.o: ../irrxml/irrXML.cpp |
| 38 |
$(CXX) $(CXXFLAGS) -c $< |
| 39 |
|
| 40 |
re.o: ../misc/re.cxx |
| 41 |
$(CXX) $(CXXFLAGS) -c $< |
| 42 |
|
| 43 |
strutil.o: ../misc/strutil.cxx |
| 44 |
$(CXX) $(CXXFLAGS) -c $< |
| 45 |
|
| 46 |
timeops.o: ../misc/timeops.cxx |
| 47 |
$(CXX) $(CXXFLAGS) -c $< |
| 48 |
|
| 49 |
util.o: ../misc/util.cxx |
| 50 |
$(CXX) $(CXXFLAGS) -c $< |
| 51 |
|
| 52 |
threads.o: ../misc/threads.cxx |
| 53 |
$(CXX) $(CXXFLAGS) -c $< |
| 54 |
|
| 55 |
cmd_debug.o: cmd_debug.cxx |
| 56 |
$(CXX) $(CXXFLAGS) -c $< |
| 57 |
|
| 58 |
nls.o: ../misc/nls.cxx |
| 59 |
$(CXX) $(CXXFLAGS) -c $< |
| 60 |
|
| 61 |
locator.o: ../misc/locator.c |
| 62 |
$(GCC) $(CFLAGS) -c $< |
| 63 |
|
| 64 |
synop_tool: \ |
| 65 |
synop_tool.o synop.o coordinate.o kmlserver.o irrXML.o re.o strutil.o \ |
| 66 |
nls.o util.o cmd_debug.o threads.o timeops.o locator.o |
| 67 |
$(CXX) \ |
| 68 |
synop_tool.o synop.o coordinate.o kmlserver.o irrXML.o re.o strutil.o \ |
| 69 |
nls.o util.o cmd_debug.o threads.o timeops.o locator.o \ |
| 70 |
-o synop_tool $(LIBS) |
| 71 |
|
| 72 |
clean: |
| 73 |
$(RM) *.bak *~ *.o synop_tool |
| 74 |
|
| 75 |
#---------------------------------------------------------------------------------- |