# SlickEdit generated file. Do not edit this file except in designated areas. # -----Begin user-editable area----- # -----End user-editable area----- # Make command to use for dependencies MAKE=gmake # If no configuration is specified, "Debug" will be used ifndef "CFG" CFG=Debug endif # # Configuration: Debug # ifeq "$(CFG)" "Debug" OUTDIR=Debug OUTFILE=$(OUTDIR)/Mogs-Adventure CFG_INC= CFG_LIB=-lSDL_mixer -lSDL_sound -lSDL_flic -lSDL_net -lSDL_image CFG_OBJ= COMMON_OBJ=$(OUTDIR)/Actor.o $(OUTDIR)/ConfigEngine.o \ $(OUTDIR)/main.o $(OUTDIR)/MogCommon.o $(OUTDIR)/stlini.o OBJ=$(COMMON_OBJ) $(CFG_OBJ) ALL_OBJ=$(OUTDIR)/Actor.o $(OUTDIR)/ConfigEngine.o $(OUTDIR)/main.o \ $(OUTDIR)/MogCommon.o $(OUTDIR)/stlini.o -lSDL_mixer -lSDL_sound \ -lSDL_flic -lSDL_net -lSDL_image COMPILE=g++ -c "-DLINUX" -O0 -g3 -ggdb -p -pg -Wall -o "$(OUTDIR)/$(*F).o" $(CFG_INC) "$<" `sdl-config --cflags` LINK=g++ -O0 -g3 -ggdb -p -pg -Wall -o "$(OUTFILE)" $(ALL_OBJ) `sdl-config --libs` # Pattern rules $(OUTDIR)/%.o : src/%.cpp $(COMPILE) # Build rules all: $(OUTFILE) $(OUTFILE): $(OUTDIR) $(OBJ) $(LINK) $(OUTDIR): mkdir -p "$(OUTDIR)" # Rebuild this project rebuild: cleanall all # Clean this project clean: rm -f $(OUTFILE) rm -f $(OBJ) # Clean this project and all dependencies cleanall: clean endif # # Configuration: Release # ifeq "$(CFG)" "Release" OUTDIR=Release OUTFILE=$(OUTDIR)/Mogs-Adventure CFG_INC= CFG_LIB=-lSDL_mixer -lSDL_sound -lSDL_flic -lSDL_net -lSDL_image CFG_OBJ= COMMON_OBJ=$(OUTDIR)/Actor.o $(OUTDIR)/ConfigEngine.o \ $(OUTDIR)/main.o $(OUTDIR)/MogCommon.o $(OUTDIR)/stlini.o OBJ=$(COMMON_OBJ) $(CFG_OBJ) ALL_OBJ=$(OUTDIR)/Actor.o $(OUTDIR)/ConfigEngine.o $(OUTDIR)/main.o \ $(OUTDIR)/MogCommon.o $(OUTDIR)/stlini.o -lSDL_mixer -lSDL_sound \ -lSDL_flic -lSDL_net -lSDL_image COMPILE=g++ -c "-DLINUX" -O2 -o "$(OUTDIR)/$(*F).o" $(CFG_INC) "$<" `sdl-config --cflags` LINK=g++ -O2 -o "$(OUTFILE)" $(ALL_OBJ) `sdl-config --libs` # Pattern rules $(OUTDIR)/%.o : src/%.cpp $(COMPILE) # Build rules all: $(OUTFILE) $(OUTFILE): $(OUTDIR) $(OBJ) $(LINK) $(OUTDIR): mkdir -p "$(OUTDIR)" # Rebuild this project rebuild: cleanall all # Clean this project clean: rm -f $(OUTFILE) rm -f $(OBJ) # Clean this project and all dependencies cleanall: clean endif