-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
31 lines (22 loc) · 1006 Bytes
/
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
APPNAME = dxf2papercraft
OBJECTS = dxf2papercraft.o utilities.o turtle.o paperface.o jsoncpp.o
INCLUDES = -I/usr/include/SDL -D_REENTRANT -I/usr/local/include
LIBS = -ldime
# LIBS = -lpthread -ldl -L/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/X11R6/lib -lX11 -lXext
# DEBUG = -g
$(APPNAME) : $(OBJECTS)
c++ -g -o $(APPNAME) $(OBJECTS) $(LIBS)
utilities.o : utilities.cxx utilities.h
c++ -g -std=c++11 -O3 -c $(DEBUG) $(INCLUDES) utilities.cxx
paperface.o : paperface.cxx paperface.h utilities.h turtle.h
c++ -g -std=c++11 -O3 -c $(DEBUG) $(INCLUDES) paperface.cxx
turtle.o : turtle.cxx turtle.h utilities.h
c++ -g -std=c++11 -03 -c $(DEBUG) $(INCLUDES) turtle.cxx
jsoncpp.o : jsoncpp.cpp json/json.h json/json-forwards.h
c++ -g -std=c++11 -O3 -c $(DEBUG) $(INCLUDES) jsoncpp.cpp
dxf2papercraft.o : dxf2papercraft.cxx paperface.h utilities.h turtle.h
c++ -g -std=c++11 -O3 -c $(DEBUG) $(INCLUDES) dxf2papercraft.cxx
clean :
rm -f $(OBJECTS)
rm -f $(APPNAME)
rm -f *~