* Add a ''very'' simple Makefile for compiling PieToaster
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2606 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
b2a7dd1347
commit
0bb24b12c2
|
@ -0,0 +1,30 @@
|
|||
CXX=g++
|
||||
CFLAGS=-g
|
||||
CXXFLAGS=
|
||||
CPPFLAGS=
|
||||
|
||||
SOURCES=game_io.cpp \
|
||||
imd.cpp \
|
||||
imdloader.cpp \
|
||||
pie_internal.cpp \
|
||||
pietoaster.cpp \
|
||||
png_util.cpp \
|
||||
resmaster.cpp \
|
||||
screen.cpp \
|
||||
texture.cpp \
|
||||
texture_mapper.cpp
|
||||
|
||||
OBJECTFILES=$(SOURCES:%.cpp=%.o)
|
||||
|
||||
all: pietoaster
|
||||
|
||||
clean:
|
||||
-rm $(OBJECTFILES) pietoaster
|
||||
|
||||
pietoaster: $(OBJECTFILES)
|
||||
$(CXX) -o $@ $^ -lSDL_image -lSDL -lpng -lphysfs -lGLU -lGL -lAntTweakBar
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
|
||||
|
||||
.PHONY: all clean
|
Loading…
Reference in New Issue