--- Makefile.orig 2006-05-16 20:11:29 UTC +++ Makefile @@ -3,11 +3,10 @@ OBJECTS=main.o TARGET=pipepanic # Settings for x86. -CC=gcc -CFLAGS=-O2 -Wall -pedantic `sdl-config --cflags` -LINK=gcc +CFLAGS+=`$(SDL_CONFIG) --cflags` +LINK=$(CC) LDFLAGS= -LIBS=`sdl-config --libs` +LIBS=`$(SDL_CONFIG) --libs` all: $(CC) $(CFLAGS) -c $(SOURCES)