blob: 8fbb3aa9c4ef2edbb427aff62376cf969846f0f8 (
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
35
36
37
|
--- Makefile.in.orig Wed Sep 24 19:49:16 1997
+++ Makefile.in Wed Jun 21 15:00:43 2000
@@ -1,10 +1,10 @@
# Maximum optimization
-CXXFLAGS += -O6 -ffast-math -funroll-loops -w
+CXXFLAGS += -I$(X11BASE)/include -ffast-math -funroll-loops
# Debugging options
#CXXFLAGS += -g
-LIBS += -Lmikmod -lmikmd -Lzlib -lz -lm
+LIBS += -Lmikmod -lmikmd -lz -lm
PORTABLE_OBJS = sys.o video.o music.o misc.o resource.o image.o \
poly2d.o 3d.o font.o lines.o smooth.o
@@ -27,7 +27,7 @@
OBJS = $(PORTABLE_OBJS) $(SYSTEM_OBJS) $(CPU_OBJS) $(DEMO_OBJS)
-TARGETS = mikmod zlib Makefile $(OBJS)
+TARGETS = mikmod Makefile $(OBJS)
qrash : $(TARGETS)
$(CC) -o qrash $(OBJS) $(LIBS)
@@ -49,6 +49,12 @@
parts.o:
$(CC) -c parts.cc
+
+install:
+ mkdir -p $(PREFIX)/share/qrash/
+ $(BSD_INSTALL_PROGRAM) qrash $(PREFIX)/bin/
+ $(BSD_INSTALL_DATA) qrash.dat $(PREFIX)/share/qrash/
+ $(BSD_INSTALL_MAN) README $(PREFIX)/share/qrash/
DUMMY:
|