$NetBSD: patch-ah,v 1.1.1.1 2001/03/19 19:35:52 wiz Exp $ --- Makefile.orig Mon Oct 5 01:36:12 1998 +++ Makefile Sun Jan 28 14:17:57 2001 @@ -24,13 +24,13 @@ TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) # TOPDIR := $(CURDIR) -CFLAGS = -O1 -D__GMODVER__=\"$(VERSION)\" -pipe \ - -I $(TOPDIR)/include `glib-config --cflags` +CFLAGS += -D__GMODVER__=\"$(VERSION)\" -pipe \ + -I$(TOPDIR)/include `glib-config --cflags` #CFLAGS = -O2 -D__GMODVER__=\"$(VERSION)\" -pipe -march=pentiumpro \ # -I $(TOPDIR)/include `glib-config --cflags` -LDFLAGS = -lstdc++ `glib-config --libs` +LDFLAGS += -lstdc++ `glib-config --libs` SUBDIRS = sndlib common ifndef DEBUG @@ -71,6 +71,7 @@ all: gmodplay +install: gmodplay: $(SUBDIRS) $(CC) -o $@ $(ALLOBJECTS) $(LDFLAGS)