-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
executable file
·50 lines (42 loc) · 1.33 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.POSIX:
# Include path to specific library path first, then common second
# Library path does the same
INCLUDES = -I../vidgl_glut -I../geogl -I../MediaDuke -I../fmod/api -I../common/include
XLIBS = -L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE
GLLIBS = -L /usr/lib -lglut -lGLU -lGL -lm $(XLIBS)
MOBYLIBS = -L../vidgl_glut -L../geogl -L../MediaDuke -L../glpng/lib -L../common/lib -L. -lgeogl -lvidgl -lmduke -lfmod-3.31 -lglpng
LIBS = $(MOBYLIBS) $(GLLIBS) -L/usr/local/lib
CFLAGS = -O -I. $(INCLUDES)
CC = g++
PROGRAM = mwnode
OBJECTS = CComaLogo.o CCubeZoom.o CCubesACM.o CDemoEffect.o CEnvInfo.o CFractalIntro.o \
CIFS.o CMotherboard.o CParticleEngine.o CShatter.o CSparkles.o CVidGLDerive.o \
CParticle.o main.o tiler.o
#
# --- GENERIC DEPENDENCIES --- #
#
#
$(PROGRAM): $(OBJECTS)
$(CC) -o $@ $(CFLAGS) $(OBJECTS) $(LIBS) -Xlinker -rpath -Xlinker .
%.o: %.cpp %.h
$(CC) $(CFLAGS) -c $<
clean:
rm -f $(OBJECTS) $(PROGRAM)
main.o: main.cpp
$(CC) $(CFLAGS) -c $<
# Include files: need to add dependencies for some of these...
#CComaLogo.h*
#CCubeZoom.h*
#CCubesACM.h*
#CDemoEffect.h*
#CEnvInfo.h*
#CFractalIntro.h*
#CIFS.h*
#CMotherboard.h*
#CParticle.h*
#CParticleEngine.h*
#CShatter.h*
#CSparkles.h*
#CVidGLDerive.h*
#resource.h*
#tiler.h*