|
|
@ -1,7 +1,8 @@ |
|
|
|
|
|
|
|
SHELL=/bin/bash
|
|
|
|
OPTFLAGS=-O2 -flto -g
|
|
|
|
OPTFLAGS=-O2 -flto -g
|
|
|
|
EXPORTFLAGS=-fvisibility=hidden -fpic -Wl,--export-dynamic
|
|
|
|
EXPORTFLAGS=-fvisibility=hidden -fpic -Wl,--export-dynamic
|
|
|
|
CPPFLAGS=-std=gnu++11 -I../include
|
|
|
|
CPPFLAGS=-std=gnu++11 -I../include
|
|
|
|
LIBSFLAGS=-ldl -lpthread
|
|
|
|
LIBSFLAGS=-ldl -lpthread $(MODLIBS)
|
|
|
|
WARNFLAGS=-Wall
|
|
|
|
WARNFLAGS=-Wall
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(OPTFLAGS) $(EXPORTFLAGS) $(WARNFLAGS) $(CPPFLAGS)
|
|
|
|
CFLAGS=$(OPTFLAGS) $(EXPORTFLAGS) $(WARNFLAGS) $(CPPFLAGS)
|
|
|
@ -14,7 +15,7 @@ DEPENDS = $(subst .cpp,.d,$(SOURCE)) |
|
|
|
OBJECTS = $(subst .cpp,.o,$(SOURCE))
|
|
|
|
OBJECTS = $(subst .cpp,.o,$(SOURCE))
|
|
|
|
|
|
|
|
|
|
|
|
makemap: $(OBJECTS) $(MODOBJECTS) |
|
|
|
makemap: $(OBJECTS) $(MODOBJECTS) |
|
|
|
$(CC) $(LDFLAGS) $(MODLIBS) -o $@ $(OBJECTS) $(MODOBJECTS)
|
|
|
|
$(CC) -o $@ $(OBJECTS) $(MODOBJECTS) $(LDFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
include $(DEPENDS) |
|
|
|
include $(DEPENDS) |
|
|
|
|
|
|
|
|
|
|
|