blob: ef5edb95f9184787375758432602ae33d13bfdfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- Makefile.orig Sun Oct 22 04:48:51 1995
+++ Makefile Sat Jan 27 15:52:13 2001
@@ -5,11 +5,11 @@
#
########
-CC = gcc
+CC ?= gcc
RM = rm
LN = ln -s
-CFLAGS = -O2
+CFLAGS ?= -O2
LFLAGS =
OBJS = mod.o s3m.o main.o play.o mix.o cmdline.o dsp.o gus.o
@@ -24,6 +24,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"
@@ -50,6 +51,9 @@
$(RM) -f dsp.c
$(LN) DspDrivers/linux_dsp.c dsp.c
make CC=gcc CFLAGS=-O2 DEFINES="-DLINUX -DGUS" s3mod
+
+freebsd:
+ $(MAKE) CFLAGS="$(CFLAGS)" DEFINES="" s3mod
s3mod: $(OBJS)
$(CC) $(CFLAGS) -o s3mod $(OBJS) $(LFLAGS) $(LIBS)
|