1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/news/plor/files/patch-aa

46 lines
905 B
Plaintext
Raw Normal View History

--- Makefile.orig Thu Oct 31 06:36:14 1996
+++ Makefile Fri Jan 17 22:56:42 1997
@@ -14,12 +14,12 @@
INCLUDE = ./include/
#LIBS =
-ifdef DEBUG
+.ifdef DEBUG
#CFLAGS = -g -Wall -m486 -O2 -ansi -pedantic -finline-functions
-FLAGS = -g -Wall -m486 -O3 -ansi -pedantic -fomit-frame-pointer
-else
-FLAGS = -m486 -O3 -fomit-frame-pointer
-endif
+FLAGS = -g -Wall -m486 -O3 -ansi -pedantic -fomit-frame-pointer -D_HAVE_PARAM_H
+.else
+FLAGS = -m486 -O3 -fomit-frame-pointer -D_HAVE_PARAM_H
+.endif
CFLAGS = -I$(INCLUDE) $(FLAGS)
@@ -28,18 +28,18 @@
############# END USER CONFIGURATION ##################
-ifdef DEBUG
+.ifdef DEBUG
all: TODO $(OBJECTS) del plor
-else
+.else
all: $(OBJECTS) del plor
-endif
+.endif
plor: $(OBJECTS)
$(CC) $(FLAGS) $(OBJECTS) $(LIBS) -o plor
-ifdef DEBUG
-else
+.ifdef DEBUG
+.else
strip plor
-endif
+.endif
# OBJECTS to compile
main.o: main.c