include ../config.mak # vortexengine2 sources SRCS = core.c demo.c infile.c loader.c main_$(API).c music_$(MUSIC).c \ ve2util.c extfuncs.c glstate.c texgen.c imageloader.c spline.c \ mesh.c vertexbuf.c voxel.c glow.c random.c camera.c dbgctls.c \ $(EXTRASRC) # scene sources SRCS += scene_adcube.c scene_city.c scene_end.c scene_intro.c scene_kart.c SRCS += scene_landscape.c scene_pong.c scene_snake.c scene_tetris.c star.c OBJS = $(SRCS:%.c=%.o) TARGET = ../$(BINARY)$(SUFFIX) all: $(TARGET) include depend.mak $(TARGET): $(OBJS) $(LD) -o $(TARGET) $(OBJS) $(LDFLAGS) extfuncs.c: extfuncs.lst extfuncs.py python extfuncs.py clean: rm -f *.o depend.mak depend: dep dep: $(DEP) $(SRCS) >depend.mak depend.mak: $(DEP) $(SRCS) >depend.mak .PHONY: dep depend clean all