-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.in
65 lines (52 loc) · 1.91 KB
/
Makefile.in
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
SHELL = /bin/sh
VPATH = @srcdir@
subdirs = @subdirs@
top_srcdir = @top_srcdir@
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
infodir = $(prefix)/info
libdir = $(prefix)/lib/gnudl
mandir = $(prefix)/man/man1
CC = @CC@
CXX = @CXX@
CPPFLAGS = @CPPFLAGS@
CFLAGS = $(CPPFLAGS) @CFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
INSTALL = @INSTALL@
# init (arguably) awful hardcoding....
# this would all be better if i could find how to construct lists in m4 macros
FRAMEWORKS = @FRAMEWORK_GLUT@ @FRAMEWORK_OPENGL@ @FRAMEWORK_CARBON@
# end horribleness
STATICLIBS = @LIBPORTAUDIOA@
MAIN = Visualizer
SHAREDPATH = GLTools/src/
SHAREDINCPATH = GLTools/include/
INCDIRS = -I$(SHAREDINCPATH) -I$(SHAREDINCPATH)GL
all: $(MAIN).o graphics_helper.o audio_helper.o ArgMapper.o externals
$(CXX) $(INCDIRS) -o $(MAIN) $(MAIN).o graphics_helper.o ArgMapper.o audio_helper.o glew.o GLTools.o GLBatch.o GLTriangleBatch.o GLShaderManager.o math3d.o $(STATICLIBS) $(LIBS) $(FRAMEWORKS)
$(MAIN).o : $(MAIN).cpp
$(CXX) $(INCDIRS) -c $(MAIN).cpp
graphics_helper.o : graphics_helper.cpp
$(CXX) $(INCDIRS) -c graphics_helper.cpp
ArgMapper.o : ArgMapper.cpp
$(CXX) $(INCDIRS) -c ArgMapper.cpp
audio_helper.o : audio_helper.cpp
$(CXX) -c audio_helper.cpp
externals : GLShaderManager.o GLTriangleBatch.o GLBatch.o GLTools.o glew.o math3d.o
GLShaderManager.o : $(SHAREDPATH)GLShaderManager.cpp
$(CXX) $(INCDIRS) -c $(SHAREDPATH)GLShaderManager.cpp
GLTriangleBatch.o : $(SHAREDPATH)GLTriangleBatch.cpp
$(CXX) $(INCDIRS) -c $(SHAREDPATH)GLTriangleBatch.cpp
GLBatch.o : $(SHAREDPATH)GLBatch.cpp
$(CXX) $(INCDIRS) -c $(SHAREDPATH)GLBatch.cpp
GLTools.o : $(SHAREDPATH)GLTools.cpp
$(CXX) $(INCDIRS) -c $(SHAREDPATH)GLTools.cpp
glew.o : $(SHAREDPATH)glew.c
$(CXX) $(INCDIRS) -c $(SHAREDPATH)glew.c
math3d.o : $(SHAREDPATH)math3d.cpp
$(CXX) $(INCDIRS) -c $(SHAREDPATH)math3d.cpp
clean:
rm -rf *.dSYM *.o .*.un~ .*.swp $(MAIN)