--- Makefile.orig Mon Sep 23 21:27:24 2002 +++ Makefile Mon Sep 23 21:30:17 2002 @@ -1,8 +1,12 @@ -SDL_CFLAGS = `sdl-config --cflags` -SDL_LIBS = `sdl-config --libs` -CFLAGS = -Wall -O2 -ffast-math -funroll-loops -Dstricmp=strcasecmp \ - -Dstrnicmp=strncasecmp -DUSE_SDL -DNDEBUG -I. $(SDL_CFLAGS) -DUSE_NET -LIBS = -lm $(SDL_LIBS) -lSDL_mixer -lSDL_net +SDL_CFLAGS = `sdl11-config --cflags` +SDL_LIBS = `sdl11-config --libs` +.if defined(WITH_NETWORK) +CFLAGS += -DUSE_NET +LIBS += -lSDL_net +.endif +CFLAGS += -Wall -O2 -ffast-math -funroll-loops -Dstricmp=strcasecmp \ + -Dstrnicmp=strncasecmp -DUSE_SDL -DNDEBUG -I. $(SDL_CFLAGS) +LIBS += -lm $(SDL_LIBS) -lSDL_mixer SDL_TARGET = sdl.a MODIFY_TARGET = gobpack jnbpack jnbunpack OBJS = fireworks.o main.o menu.o