cipher/Makefile.comm

15 lines
269 B
Makefile
Raw Normal View History

#CFLAGS = -DDEBUG_LOG -D_DEBUG
#CFLAGS = -DDEBUG_LOG
2018-02-18 17:48:31 -08:00
CFLAGS = -DLINUX -O3
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)
SHARED_FLAG = -fPIC -shared
%.o : %.cpp
2018-02-12 23:12:12 -08:00
$(CXX) $(INC) -c $< -o $@
%.o : %.c
$(CC) $(INC) -c $< -o $@
%.o : %.cc
2018-02-12 23:12:12 -08:00
$(CXX) $(INC) -c $< -o $@