1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/news/plor/files/patch-aa
Masafumi Max NAKANE fc96297044 New port:
plor - An alpha-release reader for reading SOUP and QWK packets.
Reviewed & Modified by:	max
Submitted by:	Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
1997-01-17 14:32:45 +00:00

46 lines
905 B
Plaintext

--- 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