-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathMakefile
44 lines (41 loc) · 2.32 KB
/
Makefile
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
###################################################################
include ../Makefile.in
#------------------------------------------------------------
sourceallmaps = tamgua_mapff.cxx tamgua_mapfi.cxx tamgua_mapfs.cxx tamgua_mapfu.cxx \
tamgua_mapif.cxx tamgua_mapii.cxx tamgua_mapis.cxx tamgua_mapiu.cxx \
tamgua_mapsf.cxx tamgua_mapsi.cxx tamgua_mapss.cxx tamgua_mapuf.cxx \
tamgua_mapui.cxx tamgua_mapuu.cxx tamguallmaps.cxx tamguprimemapf.cxx \
tamgubinmap.cxx tamgubinmapf.cxx tamgubinmapi.cxx tamgubinmapl.cxx tamgubinmaps.cxx tamgubinmapu.cxx \
tamguprimemapff.cxx tamguprimemapfi.cxx tamguprimemapfl.cxx tamguprimemapfs.cxx \
tamguprimemapfu.cxx tamguprimemapi.cxx tamguprimemapif.cxx tamguprimemapii.cxx \
tamguprimemapis.cxx tamguprimemapiu.cxx tamguprimemapl.cxx tamguprimemaplf.cxx \
tamguprimemapll.cxx tamguprimemapls.cxx tamguprimemaplu.cxx tamguprimemapu.cxx \
tamguprimemapuf.cxx tamguprimemapui.cxx tamguprimemapul.cxx tamguprimemapuu.cxx \
tamgutreemapff.cxx tamgutreemapfi.cxx tamgutreemapfl.cxx \
tamgutreemapfs.cxx tamgutreemapfu.cxx \
tamgutreemapii.cxx tamgutreemapis.cxx tamgutreemapiu.cxx tamgutreemapl.cxx \
tamgutreemaplf.cxx tamgutreemapll.cxx tamgutreemaplu.cxx tamgutreemapu.cxx \
tamgutreemapuf.cxx tamgutreemapui.cxx tamgutreemapul.cxx tamgutreemapuu.cxx
#------------------------------------------------------------
LBINPATH = ../$(BINPATH)
LOBJPATH = ../$(LIBOBJPATH)
#------------------------------------------------------------
objectallmaps = $(sourceallmaps:%.cxx=$(LOBJPATH)/allmaps/%.o)
#------------------------------------------------------------
TamguBASICFLAGS = -w -c -fPIC -O3 -DUNIX $(MULTIGA) $(INTELINT) $(REGEX) $(SPECFLAGS)
TamguCFLAGS = -std=c99 $(TamguBASICFLAGS)
TamguFLAGS = $(C++11Flag) $(TamguBASICFLAGS)
TAMGULIBPATH = ../$(BINPATH)
#------------------------------------------------------------
Tamguincludes= -I../include $(INCLUDEPATH)
#------------------------------------------------------------
$(LOBJPATH)/allmaps/%.o: src/%.cxx
$(COMP) -Iinclude $(TamguFLAGS) $(Tamguincludes) $< -o $@
#------------------------------------------------------------
all: install $(objectallmaps)
$(COMPPLUSPLUS) -shared -o $(LBINPATH)/liballmaps.so $(objectallmaps) $(SYSTEMSPATH) $(LIBREGEX) -L$(LBINPATH) -ltamgu
install:
mkdir -p $(LOBJPATH)/allmaps
clean:
rm -f $(LOBJPATH)/allmaps/*.o
rm -f $(LBINPATH)/liballmaps.so