1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Don't hard-code CFLAGS=-O2 and CC

This commit is contained in:
Kris Kennaway 2001-04-29 23:36:40 +00:00
parent 4df3a9a6df
commit 6e48a5d368
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42047

View File

@ -1,11 +1,11 @@
--- Makefile.orig Sun Jul 26 16:11:40 1998
+++ Makefile Sun Jul 26 16:14:35 1998
@@ -1,11 +1,12 @@
@@ -1,11 +1,11 @@
SRCS= include.c list.c main.c subs.c var.c wild.c
OBJS= include.o list.o main.o subs.o var.o wild.o
-CFLAGS= -g -O2 -Wall -Wstrict-prototypes
+CFLAGS= -O2 -Wall
+CFLAGS+= -Wall
LFLAGS=
EXE= xmake
-IBDIR= /usr/local/bin
@ -13,7 +13,7 @@
+PREFIX?= /usr/local
+IBDIR= $(PREFIX)/bin
+IMDIR= $(PREFIX)/man/man1
CC= cc
-CC= cc
all: $(EXE)
@@ -16,6 +17,6 @@