From: Tobias Gläßer Date: Wed, 31 Dec 2003 02:49:49 +0000 (+0000) Subject: little fix for amiga(morphos)-compilation , thanks to SixK X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6a1e7bdc624374945117816e3035649d0fc02184;p=supertux.git little fix for amiga(morphos)-compilation , thanks to SixK SVN-Revision: 86 --- diff --git a/Makefile b/Makefile index 87ecb7caf..aaad8eef0 100644 --- a/Makefile +++ b/Makefile @@ -43,14 +43,14 @@ CFLAGS=-Wall -O2 $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \ SDL_MIXER=-lSDL_mixer SDL_IMAGE=-lSDL_image NOSOUNDFLAG=__SOUND -SDL_LIB=$(SDL_LDFLAGS) $(SDL_MIXER) $(SDL_IMAGE) +SDL_LIB=$(SDL_MIXER) $(SDL_IMAGE) $(SDL_LDFLAGS) SDL_CFLAGS := $(shell sdl-config --cflags) SDL_LDFLAGS := $(shell sdl-config --libs) installbin = install -g $(USERNAME) -o $(USERNAME) -m 755 installdat = install -g $(USERNAME) -o $(USERNAME) -m 644 -OBJECTS=obj/supertux.o obj/setup.o obj/intro.o obj/title.o obj/gameloop.o \ +OBJECTS=obj/supertux.o obj/setup.o obj/intro.o obj/title.o obj/level.o obj/gameloop.o \ obj/screen.o obj/sound.o obj/high_scores.o obj/menu.o obj/leveleditor.o # Make commands: @@ -110,9 +110,13 @@ obj/title.o: src/title.c src/title.h \ src/defines.h src/globals.h src/screen.h $(CC) $(CFLAGS) src/title.c -c -o obj/title.o +obj/level.o: src/level.c src/defines.h src/globals.h \ + src/level.h src/gameloop.h src/screen.h src/badguy.h + $(CC) $(CFLAGS) src/level.c -c -o obj/level.o + obj/gameloop.o: src/gameloop.c src/gameloop.h \ src/defines.h src/globals.h src/screen.h obj/sound.o \ - src/setup.h + src/setup.h obj/level.o $(CC) $(CFLAGS) src/gameloop.c -c -o obj/gameloop.o obj/screen.o: src/screen.c src/defines.h src/globals.h src/screen.h @@ -131,4 +135,4 @@ obj/menu.o: src/menu.c src/defines.h src/globals.h \ obj/leveleditor.o: src/leveleditor.c src/defines.h src/globals.h \ src/leveleditor.h src/gameloop.h src/screen.h src/badguy.h - $(CC) $(CFLAGS) src/leveleditor.c -c -o obj/leveleditor.o + $(CC) $(CFLAGS) src/leveleditor.c -c -o obj/leveleditor.o \ No newline at end of file