blob: e203a92b6e6488fb93b386b5acbf69027894c5b5 (
plain) (
blame)
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 Fri Oct 27 06:37:29 1995
+++ makefile Sun Apr 11 20:36:53 1999
@@ -1,6 +1,6 @@
# generic UNIX makefile
#CC = gcc # req. for linux
-CC = cc # if you don't have gcc
+CC ?= cc # if you don't have gcc
# Configuration options:
#
# No. Name Incompatible with Description
@@ -15,11 +15,12 @@
# (5) -DSMALLMEM 16-bit addresses, less memory
# (6) -DXWINGRAPHX 1 X-Windows graphics (UNIX)
-CFLAGS = -O -DEXT94
+CFLAGS ?= -O
+CFLAGS += -I/usr/X11R6/include -DEXT94 -DGRAPHX -DXWINGRAPHX
LFLAGS = -x
LIB = -lcurses -ltermlib # enable this one for curses display
# LIB = -lvgagl -lvga # enable this one for Linux/SVGA
-# LIB = -lX11 # enable this one for X11
+LIB = -L/usr/X11R6/lib -lX11 # enable this one for X11
.SUFFIXES: .o .c .c~ .man .doc .6
MAINFILE = pmars
@@ -30,7 +31,7 @@
OBJ2 = clparse.o global.o token.o
OBJ3 = str_eng.o
-ALL: flags $(MAINFILE) man doc
+all: flags $(MAINFILE) man doc
flags:
@echo Making $(MAINFILE) with compiler flags $(CFLAGS)
|