mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
2b0492b77f
PR: 11635 Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp>
26 lines
867 B
Plaintext
26 lines
867 B
Plaintext
--- 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
|