1999-06-19 10:00:15 +00:00
|
|
|
--- Makefile.orig Sat Oct 21 12:48:51 1995
|
|
|
|
+++ Makefile Sat Jun 19 02:56:40 1999
|
|
|
|
@@ -5,11 +5,10 @@
|
|
|
|
#
|
|
|
|
########
|
|
|
|
|
|
|
|
-CC = gcc
|
|
|
|
-RM = rm
|
|
|
|
-LN = ln -s
|
|
|
|
+CC ?= gcc
|
|
|
|
+RM ?= rm
|
|
|
|
+LN += -s
|
1998-09-28 01:47:30 +00:00
|
|
|
|
|
|
|
-CFLAGS = -O2
|
|
|
|
LFLAGS =
|
|
|
|
|
|
|
|
OBJS = mod.o s3m.o main.o play.o mix.o cmdline.o dsp.o gus.o
|
|
|
|
@@ -24,6 +23,7 @@
|
|
|
|
@echo " make sun - SunOS/Solaris"
|
|
|
|
@echo " make sgi - SGI Irix"
|
|
|
|
@echo " make linux - Voxware DSP/GUS"
|
|
|
|
+ @echo " make freebsd - Voxware DSP/GUS"
|
|
|
|
@echo " make dec - Dec OSF/1"
|
|
|
|
@echo " make clean - remove all .o files"
|
|
|
|
@echo " make clobber - remove all .o and targets"
|
|
|
|
@@ -51,6 +51,9 @@
|
|
|
|
$(LN) DspDrivers/linux_dsp.c dsp.c
|
|
|
|
make CC=gcc CFLAGS=-O2 DEFINES="-DLINUX -DGUS" s3mod
|
|
|
|
|
|
|
|
+freebsd:
|
1999-06-19 10:00:15 +00:00
|
|
|
+ make CFLAGS="$(CFLAGS)" DEFINES="-DGUS" s3mod
|
1998-09-28 01:47:30 +00:00
|
|
|
+
|
|
|
|
s3mod: $(OBJS)
|
|
|
|
$(CC) $(CFLAGS) -o s3mod $(OBJS) $(LFLAGS) $(LIBS)
|
|
|
|
|
|
|
|
@@ -62,6 +65,9 @@
|
|
|
|
|
|
|
|
dep:
|
|
|
|
makedepend $(CFLAGS) $(LFLAGS) $(LIBS) $(CFILES)
|
|
|
|
+
|
|
|
|
+install:
|
1999-06-19 10:00:15 +00:00
|
|
|
+ install -c -m 555 s3mod ${PREFIX}/bin
|
1998-09-28 01:47:30 +00:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|
|
|