$NetBSD: patch-aa,v 1.1.1.1 2004/11/24 17:05:04 wiz Exp $ --- Makefile.orig 2004-10-17 23:08:42.000000000 +0200 +++ Makefile @@ -1,10 +1,10 @@ NAME=kapooka #CC=gcc-3.0 -CC=gcc -DESTDIR=/usr/local -DATADIR=$(DESTDIR)/$(NAME) -COMPILE_FLAGS=-Wall -O2 -fomit-frame-pointer `libmikmod-config --cflags` -DDATADIR=$(DATADIR) -g -LINK_FLAGS=-lm -L /usr/X11R6/lib -L /usr/local/lib `libmikmod-config --libs` -lpthread -lSDL -lSDL_image +#CC=gcc +DESTDIR=${PREFIX} +DATADIR=$(DESTDIR)/share/$(NAME) +COMPILE_FLAGS=-Wall -DDATADIR=$(DATADIR) -g +LINK_FLAGS=-lm -L /usr/X11R6/lib `libmikmod-config --libs` `sdl-config --libs` -lSDL_image CFILES=$(wildcard *.c) OFILES=$(patsubst %.c,%.o,$(CFILES))