2015-09-18 03:52:34 -07:00
|
|
|
#CFLAGS = -DDEBUG_LOG -D_DEBUG
|
|
|
|
#CFLAGS = -DDEBUG_LOG
|
2018-02-18 17:48:31 -08:00
|
|
|
CFLAGS = -DLINUX -O3
|
2015-09-18 03:52:34 -07:00
|
|
|
|
2018-02-18 17:48:31 -08:00
|
|
|
CC=gcc -g $(CFLAGS)
|
2018-02-12 23:12:12 -08:00
|
|
|
CXX=gcc -std=c++11 -g $(CFLAGS)
|
2015-09-18 03:52:34 -07:00
|
|
|
SHARED_FLAG = -fPIC -shared
|
|
|
|
|
|
|
|
%.o : %.cpp
|
2018-02-12 23:12:12 -08:00
|
|
|
$(CXX) $(INC) -c $< -o $@
|
2015-09-18 03:52:34 -07:00
|
|
|
%.o : %.c
|
|
|
|
$(CC) $(INC) -c $< -o $@
|
|
|
|
%.o : %.cc
|
2018-02-12 23:12:12 -08:00
|
|
|
$(CXX) $(INC) -c $< -o $@
|