1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/www/analog/files/patch-aa

26 lines
1.3 KiB
Plaintext
Raw Normal View History

1999-01-19 18:33:21 +00:00
--- Makefile.orig Sat Nov 7 00:27:05 1998
+++ Makefile Tue Jan 19 21:21:20 1999
1998-08-18 21:12:12 +00:00
@@ -2,10 +2,11 @@
# Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
# compilers need different CFLAGS, e.g., -O instead of -O2.
-CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
+#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
1999-01-19 18:33:21 +00:00
# HP/UX cc needs -Aa (HP/UX 9) or -Ae (HP/UX 10)
1998-08-18 21:12:12 +00:00
# Some Linuces might need -I/usr/src/linux/include
-DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
+#DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
+DEFS = -DPREFIX=\"$(PREFIX)\"
1999-01-19 18:33:21 +00:00
# Solaris 2 (SunOS 5) might need DEFS = -DNOSTRCMP
1998-08-18 21:12:12 +00:00
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
# RISCOS, BEOS, BS2000
1999-01-19 18:33:21 +00:00
@@ -27,6 +28,8 @@
1998-08-18 21:12:12 +00:00
# Form interface options:
FORMPROG = anlgform.cgi # The program that processes the data from the form
FORMSRC = anlgform.c # The source code for that program
+
+all: $(PROGRAM)
$(PROGRAM): $(OBJS) $(HEADERS) Makefile
$(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)