summaryrefslogtreecommitdiff
path: root/cad/plugins/QuteMol/qutemol/Makefile
blob: 0e5cdf9a41f38f1b8a83c514d49f4e30281d2c49 (plain)
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

INCDIRS = -Ivcg -Isrc -I.
OPTFLAGS = -Os -Wall -g

CXXFLAGS = $(INCDIRS) $(OPTFLAGS) `wx-config --cppflags`
LIBS = $(CXXFLAGS) `wx-config --libs core,base --gl-libs` -lGLEW -lGLU -lGL

OBJS = \
			 src/AO.o  \
			 src/AOgpu.o  \
			 src/AtomColor.o  \
			 src/CgUtil.o  \
			 src/Common.o  \
			 src/HardSettings.o  \
			 src/Mol.o \
			 src/MyTab.o \
			 src/Sampling.o \
			 src/ShadowMap.o \
			 src/main.o \
			 src/wx_trackball.o \
			 vcg/wrap/gui/trackball.o \
			 vcg/wrap/gui/trackmode.o

all: qutemol

clean: 
	find . -name "*.o" | xargs rm 

qutemol: $(OBJS)
	$(CXX) -o qutemol $(CFLAGS) $(OBJS) $(LIBS)