summaryrefslogtreecommitdiff
path: root/audio/mikmod/patches/patch-bc
blob: 11015968c155a1cd35e2249fed56a89a3f2e2235 (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
--- /dev/null	Sat Jul  4 02:20:57 1998
+++ mmio/makefile.netbsd	Sat Jul  4 02:32:11 1998
@@ -0,0 +1,29 @@
+# MMIO Library Makefile for NetBSD
+# Divine Entertainment Game Programming Pack
+#
+
+##########################
+## User settable macros ##
+##########################
+
+Compiler          = gcc
+Librarian         = ar
+Compiler_Options  = -Wall -O6 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -pipe -I. -I../mikmod -I../include
+
+Lib_file          = ../lib/libmmio.a
+
+Object_files      = mmio.o mmalloc.o mmerror.o
+
+####################
+## Makefile rules ##
+####################
+
+$(Lib_file): $(Object_files)
+	$(Librarian) r $(Lib_file) $(Object_files)
+
+.c.o:
+	$(CC) -c $(Compiler_Options) $<
+
+clean:
+	rm -f *.o
+	rm -f $(Lib_file)