diff options
Diffstat (limited to 'games/moonlander/files/patch-Makefile')
-rw-r--r-- | games/moonlander/files/patch-Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games/moonlander/files/patch-Makefile b/games/moonlander/files/patch-Makefile new file mode 100644 index 000000000000..be81ec3162e7 --- /dev/null +++ b/games/moonlander/files/patch-Makefile @@ -0,0 +1,36 @@ +--- Makefile.orig Tue Aug 14 16:28:49 2001 ++++ Makefile Thu Jun 26 22:07:33 2003 +@@ -1,26 +1,20 @@ + # Makefile for test program for game_libs - lunar lander +-CFLAGS=-Wall `sdl-config --libs --cflags` +-CC=gcc ++CFLAGS+=`sdl11-config --cflags` ++#CC=gcc + +-LIBS=SDL_image ++LIBS=`sdl11-config --libs` -lSDL_image -lSDL_mixer + + C_FILES=moon_lander.c game_lib.c DT_drawtext.c + OBJ_FILES=moon_lander.o game_lib.o DT_drawtext.o +-OUT_FILE=moon-lander.bin ++OUT_FILE=moonlander + + all: game_lib + + game_lib: $(OBJ_FILES) +- $(CC) $(CFLAGS) -o $(OUT_FILE) $(OBJ_FILES) -l$(LIBS) -lSDL_mixer ++ $(CC) $(CFLAGS) -o $(OUT_FILE) $(OBJ_FILES) $(LIBS) + +-moon_lander.o: moon_lander.c +- $(CC) $(CFLAGS) -c -o $@ $^ +- +-game_lib.o: game_lib.c +- $(CC) $(CFLAGS) -c -o $@ $^ +- +-DT_drawtext.o: DT_drawtext.c +- $(CC) $(CFLAGS) -c -o $@ $^ ++.c.o: ++ $(CC) $(CFLAGS) -c $< -o $@ + + clean: + rm -f *.o core |