From 1550397345a0ad45497ce081aee6079637a3672a Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Fri, 30 Apr 2004 14:29:28 +0000 Subject: [PATCH] removed outdated Makefile.cvs SVN-Revision: 863 --- Makefile.cvs | 197 ----------------------------------------------------------- 1 file changed, 197 deletions(-) delete mode 100644 Makefile.cvs diff --git a/Makefile.cvs b/Makefile.cvs deleted file mode 100644 index fb2189849..000000000 --- a/Makefile.cvs +++ /dev/null @@ -1,197 +0,0 @@ -# Makefile for supertux - -# by Bill Kendrick & Tobias Glaesser -# bill@newbreedsoftware.com -# tobi.web@gmx.de -# http://www.newbreedsoftware.com/ - -# Version 0.0.6 (in development) - -# April 11, 2000 - December 29, 2000 - - -# User-definable stuff: - -ifeq ($(PREFIX),) -ifeq ($(USERNAME),root) -PREFIX=/usr/local -else -PREFIX=$(PWD) -endif -DATA_PREFIX=$(PWD)/data/ -else -DATA_PREFIX=$(PREFIX)/share/games/supertux/data/ -endif -JOY=YES - - -#undefine this for non debugging compilation - -DEBUG_FLAG=-DDEBUG -pg - -# Defaults for Linux: - -TARGET=supertux -TARGET_DEF=LINUX - -CFLAGS=-Wall-O2 $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \ - -D$(NOSOUNDFLAG) -D$(NOOPENGLFLAG) -D$(TARGET_DEF) -DJOY_$(JOY) $(DEBUG_FLAG) - - -# Other definitions: - -SDL_MIXER=-lSDL_mixer -SDL_IMAGE=-lSDL_image -NOSOUNDFLAG=__SOUND -NOOPENGLFLAG=__OPENGL -DEBUG_LIB= #-lefence -SDL_LIB=$(SDL_MIXER) $(SDL_IMAGE) $(SDL_LDFLAGS) -SDL_CFLAGS := $(shell sdl-config --cflags) -SDL_LDFLAGS := $(shell sdl-config --libs) -GL_LIB = -L/usr/X11R6/lib -lGL -installbin = install -g $(USERNAME) -o $(USERNAME) -m 755 -installdat = install -g $(USERNAME) -o $(USERNAME) -m 644 -CC = g++ - -OBJECTS=obj/supertux.o obj/setup.o obj/intro.o obj/title.o obj/scene.o obj/collision.o obj/bitmask.o obj/type.o \ - obj/timer.o obj/text.o obj/texture.o obj/badguy.o obj/special.o obj/player.o obj/level.o obj/gameloop.o \ - obj/screen.o obj/sound.o obj/high_scores.o obj/menu.o obj/leveleditor.o obj/globals.o obj/button.o obj/physic.o obj/lispreader.o obj/worldmap.o obj/particlesystem.o obj/tile.o obj/mousecursor.o obj/configfile.o obj/world.o - -# Make commands: - -all: $(TARGET) - -install: $(TARGET) - mkdir -p $(PREFIX)/games/$(TARGET) - mkdir -p $(PREFIX)/share/games/$(TARGET) - mkdir -p $(PREFIX)/bin/ - cp -r data $(PREFIX)/share/games/$(TARGET)/ - chmod -R 0755 $(PREFIX)/share/games/$(TARGET)/data/ - -$(installbin) $(TARGET) $(PREFIX)/games/$(TARGET)/$(TARGET) - ln -sf $(PREFIX)/games/$(TARGET)/$(TARGET) $(PREFIX)/bin/$(TARGET) - -uninstall: - rm -r $(PREFIX)/games/$(TARGET) - rm -r $(PREFIX)/share/games/$(TARGET) - rm $(PREFIX)/bin/$(TARGET) - -nosound: - make supertux SDL_MIXER= NOSOUNDFLAG=NOSOUND - -noopengl: - make supertux GL_LIB= NOOPENGLFLAG=NOOPENGL - -nosoundopengl: - make supertux GL_LIB= SDL_MIXER= NOSOUNDFLAG=NOSOUND NOOPENGLFLAG=NOOPENGL - -win32: - make TARGET_DEF=WIN32 TARGET=supertux.exe \ - DATA_PREFIX=data/ - cp /usr/local/cross-tools/i386-mingw32/lib/SDL*.dll . - chmod 644 SDL*.dll - -clean: - -rm -f supertux supertux.exe - -rm -f obj/*.o - -rm -f SDL*.dll - - -# Main executable: - -$(TARGET): $(OBJECTS) - $(CC) $(CFLAGS) $(OBJECTS) -o $(TARGET) $(SDL_LIB) $(GL_LIB) $(DEBUG_LIB) - -# Objects: - -obj/supertux.o: src/supertux.cpp - $(CC) $(CFLAGS) src/supertux.cpp -c -o obj/supertux.o - -obj/setup.o: src/setup.cpp - $(CC) $(CFLAGS) src/setup.cpp -c -o obj/setup.o - -obj/intro.o: src/intro.cpp - $(CC) $(CFLAGS) src/intro.cpp -c -o obj/intro.o - -obj/title.o: src/title.cpp - $(CC) $(CFLAGS) src/title.cpp -c -o obj/title.o - -obj/level.o: src/level.cpp - $(CC) $(CFLAGS) src/level.cpp -c -o obj/level.o - -obj/scene.o: src/scene.cpp - $(CC) $(CFLAGS) src/scene.cpp -c -o obj/scene.o - -obj/collision.o: src/collision.cpp - $(CC) $(CFLAGS) src/collision.cpp -c -o obj/collision.o - -obj/bitmask.o: src/bitmask.cpp - $(CC) $(CFLAGS) src/bitmask.cpp -c -o obj/bitmask.o - -obj/type.o: src/type.cpp - $(CC) $(CFLAGS) src/type.cpp -c -o obj/type.o - -obj/timer.o: src/timer.cpp - $(CC) $(CFLAGS) src/timer.cpp -c -o obj/timer.o - -obj/texture.o: src/texture.cpp - $(CC) $(CFLAGS) src/texture.cpp -c -o obj/texture.o - -obj/text.o: src/text.cpp - $(CC) $(CFLAGS) src/text.cpp -c -o obj/text.o - -obj/badguy.o: src/badguy.cpp - $(CC) $(CFLAGS) src/badguy.cpp -c -o obj/badguy.o - -obj/special.o: src/special.cpp - $(CC) $(CFLAGS) src/special.cpp -c -o obj/special.o - -obj/world.o: src/world.cpp - $(CC) $(CFLAGS) src/world.cpp -c -o obj/world.o - -obj/player.o: src/player.cpp - $(CC) $(CFLAGS) src/player.cpp -c -o obj/player.o - -obj/gameloop.o: src/gameloop.cpp - $(CC) $(CFLAGS) src/gameloop.cpp -c -o obj/gameloop.o - -obj/screen.o: src/screen.cpp - $(CC) $(CFLAGS) src/screen.cpp -c -o obj/screen.o - -obj/sound.o: src/sound.cpp - $(CC) $(CFLAGS) src/sound.cpp -c -o obj/sound.o - -obj/high_scores.o: src/high_scores.cpp - $(CC) $(CFLAGS) src/high_scores.cpp -c -o obj/high_scores.o - -obj/menu.o: src/menu.cpp - $(CC) $(CFLAGS) src/menu.cpp -c -o obj/menu.o - -obj/leveleditor.o: src/leveleditor.cpp - $(CC) $(CFLAGS) src/leveleditor.cpp -c -o obj/leveleditor.o - -obj/lispreader.o: src/lispreader.cpp - $(CC) $(CFLAGS) src/lispreader.cpp -c -o obj/lispreader.o - -obj/globals.o: src/globals.cpp - $(CC) $(CFLAGS) src/globals.cpp -c -o obj/globals.o - -obj/button.o: src/button.cpp - $(CC) $(CFLAGS) src/button.cpp -c -o obj/button.o - -obj/physic.o: src/physic.cpp - $(CC) $(CFLAGS) src/physic.cpp -c -o obj/physic.o - -obj/worldmap.o: src/worldmap.cpp - $(CC) $(CFLAGS) src/worldmap.cpp -c -o obj/worldmap.o - -obj/particlesystem.o: src/particlesystem.cpp - $(CC) $(CFLAGS) src/particlesystem.cpp -c -o obj/particlesystem.o - -obj/tile.o: src/tile.cpp - $(CC) $(CFLAGS) src/tile.cpp -c -o obj/tile.o - -obj/mousecursor.o: src/mousecursor.cpp - $(CC) $(CFLAGS) src/mousecursor.cpp -c -o obj/mousecursor.o - -obj/configfile.o: src/configfile.cpp - $(CC) $(CFLAGS) src/configfile.cpp -c -o obj/configfile.o \ No newline at end of file -- 2.11.0