summaryrefslogtreecommitdiff
blob: 07c671a10e319274f59d2d248f012cfdf5405d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# ls *.cpp
#
#3dobject-ase.cpp  construction.cpp  maps.cpp         netherdebug.cpp    radar.cpp
#3dobject.cpp      enemy_ai.cpp      menu.cpp         nethersave.cpp     robot_ai.cpp
#bitmap.cpp        glprintf.cpp      myglutaux.cpp    particles.cpp      robots.cpp
#bullet.cpp        main.cpp          nether.cpp       piece3dobject.cpp  shadow3dobject.cpp
#cmc.cpp           mainmenu.cpp      nethercycle.cpp  quaternion.cpp     vector.cpp


SOURCES = 3dobject-ase.cpp 3dobject.cpp cmc.cpp nether.cpp piece3dobject.cpp vector.cpp bitmap.cpp bullet.cpp glprintf.cpp main.cpp mainmenu.cpp maps.cpp menu.cpp myglutaux.cpp nethercycle.cpp netherdebug.cpp nethersave.cpp particles.cpp construction.cpp quaternion.cpp radar.cpp enemy_ai.cpp robot_ai.cpp robots.cpp shadow3dobject.cpp
OBJECTS = $(SOURCES:.cpp=.o)
TARGET = nether_earth

.cpp.o:
	g++ ${CXXFLAGS} -c $< -o $@

all: $(TARGET)

$(TARGET): $(OBJECTS)
	g++ $(OBJECTS) -o $(TARGET) -lGL -lGLU -lglut -lSDL -lSDL_mixer -lpthread