2004-04-05 02:00:33 +00:00
|
|
|
OBJS =\
|
2004-10-06 19:13:52 +00:00
|
|
|
lua/lapi.o \
|
|
|
|
lua/lauxlib.o \
|
|
|
|
lua/lbuffer.o \
|
|
|
|
lua/lbuiltin.o \
|
|
|
|
lua/ldo.o \
|
|
|
|
lua/lfunc.o \
|
|
|
|
lua/lgc.o \
|
|
|
|
lua/liolib.o \
|
|
|
|
lua/llex.o \
|
|
|
|
lua/lmathlib.o \
|
|
|
|
lua/lmem.o \
|
|
|
|
lua/lobject.o \
|
|
|
|
lua/lparser.o \
|
2004-12-25 18:23:07 +00:00
|
|
|
lua/lrestore.o \
|
|
|
|
lua/lsave.o \
|
2004-10-06 19:13:52 +00:00
|
|
|
lua/lstate.o \
|
|
|
|
lua/lstring.o \
|
|
|
|
lua/lstrlib.o \
|
|
|
|
lua/ltable.o \
|
|
|
|
lua/ltask.o \
|
|
|
|
lua/ltm.o \
|
|
|
|
lua/lundump.o \
|
|
|
|
lua/lvm.o \
|
2004-10-06 19:32:18 +00:00
|
|
|
lua/lzio.o \
|
2004-10-06 19:13:52 +00:00
|
|
|
mixer/mixer.o \
|
|
|
|
mixer/rate.o \
|
|
|
|
mixer/audiostream.o \
|
2004-12-29 06:32:07 +00:00
|
|
|
imuse/imuse.o \
|
|
|
|
imuse/imuse_mcmp_mgr.o \
|
|
|
|
imuse/imuse_music.o \
|
|
|
|
imuse/imuse_script.o \
|
|
|
|
imuse/imuse_sndmgr.o \
|
|
|
|
imuse/imuse_tables.o \
|
|
|
|
imuse/imuse_track.o \
|
2004-04-05 19:06:44 +00:00
|
|
|
actor.o \
|
|
|
|
bitmap.o \
|
|
|
|
blocky16.o \
|
|
|
|
costume.o \
|
|
|
|
debug.o \
|
2006-02-12 16:23:07 +00:00
|
|
|
$(DRIVER_OBJS) \
|
2004-04-05 19:06:44 +00:00
|
|
|
engine.o \
|
2005-12-26 02:36:00 +00:00
|
|
|
savegame.o \
|
2005-03-18 19:54:40 +00:00
|
|
|
font.o \
|
2004-04-05 19:06:44 +00:00
|
|
|
keyframe.o \
|
|
|
|
lab.o \
|
2004-10-06 19:13:52 +00:00
|
|
|
lipsynch.o \
|
2004-04-05 19:06:44 +00:00
|
|
|
localize.o \
|
|
|
|
lua.o \
|
|
|
|
main.o \
|
|
|
|
material.o \
|
|
|
|
matrix3.o \
|
|
|
|
matrix4.o \
|
|
|
|
model.o \
|
|
|
|
objectstate.o \
|
2005-04-07 19:30:30 +00:00
|
|
|
primitives.o \
|
2004-04-05 19:06:44 +00:00
|
|
|
registry.o \
|
|
|
|
resource.o \
|
|
|
|
scene.o \
|
|
|
|
smush.o \
|
|
|
|
textobject.o \
|
|
|
|
textsplit.o \
|
|
|
|
timer.o \
|
|
|
|
vima.o \
|
2004-10-06 19:32:18 +00:00
|
|
|
walkplane.o
|
2004-04-05 02:00:33 +00:00
|
|
|
|
2006-02-12 16:23:07 +00:00
|
|
|
DRIVER_OBJS ?=\
|
|
|
|
driver_sdl.o \
|
|
|
|
driver_gl.o \
|
|
|
|
driver_tinygl.o \
|
|
|
|
$(TINYGL_OBJS)
|
|
|
|
|
|
|
|
TINYGL_OBJS =\
|
|
|
|
tinygl/api.o \
|
|
|
|
tinygl/arrays.o \
|
|
|
|
tinygl/clear.o \
|
|
|
|
tinygl/clip.o \
|
|
|
|
tinygl/error.o \
|
|
|
|
tinygl/get.o \
|
|
|
|
tinygl/image_util.o \
|
|
|
|
tinygl/init.o \
|
|
|
|
tinygl/light.o \
|
|
|
|
tinygl/list.o \
|
|
|
|
tinygl/matrix.o \
|
|
|
|
tinygl/memory.o \
|
|
|
|
tinygl/misc.o \
|
|
|
|
tinygl/msghandling.o \
|
|
|
|
tinygl/select.o \
|
|
|
|
tinygl/specbuf.o \
|
|
|
|
tinygl/texture.o \
|
|
|
|
tinygl/vertex.o \
|
|
|
|
tinygl/zbuffer.o \
|
|
|
|
tinygl/zline.o \
|
|
|
|
tinygl/zmath.o \
|
|
|
|
tinygl/ztriangle.o
|
|
|
|
|
2004-04-05 02:03:08 +00:00
|
|
|
DEPS = $(OBJS:.o=.d)
|
|
|
|
|
2004-10-06 19:13:52 +00:00
|
|
|
residual: $(OBJS)
|
2004-04-05 02:00:33 +00:00
|
|
|
$(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
|
|
|
|
|
|
|
.cpp.o:
|
2006-02-12 16:23:07 +00:00
|
|
|
@test -d $(*D) || mkdir -p $(*D)
|
2005-01-15 17:05:14 +00:00
|
|
|
$(CXX) $(CXXFLAGS) -Wp,-MMD,"$*.d",-MQ,"$*.o",-MP -c $(<) -o $*.o
|
2004-04-05 02:00:33 +00:00
|
|
|
|
2004-10-06 19:13:52 +00:00
|
|
|
clean:
|
2005-01-12 22:49:26 +00:00
|
|
|
-rm -f residual$(EXEEXT) *.o *.d mixer/*.o mixer/*.d imuse/*.o imuse/*.d lua/*.o *.d lua/*.d tinygl/*.o *.d tinygl/*.d
|
2004-04-05 02:00:33 +00:00
|
|
|
|
|
|
|
-include $(DEPS)
|