1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/www/analog/files/patch-aa
1998-04-08 18:18:26 +00:00

38 lines
1.9 KiB
Plaintext

*** Makefile.orig Wed Apr 8 17:37:54 1998
--- Makefile Wed Apr 8 19:42:19 1998
***************
*** 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.
# HP/UX cc needs -Aa
# Some Linuces might need -I/usr/src/linux/include
! DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC or VMS
LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs
# LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
--- 2,12 ----
# 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.
# HP/UX cc needs -Aa
# Some Linuces might need -I/usr/src/linux/include
! #DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT
! DEFS = -DPREFIX=\"$(PREFIX)\"
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC or VMS
LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs
# LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
***************
*** 26,31 ****
--- 27,34 ----
FORMSRC = analform.c # The source code for that program
FORMHTML = analogform.html # Where the form itself will go
FORMOPTS = # Extra analog options when constructing the form
+
+ all: $(PROGRAM)
$(PROGRAM): $(OBJS) $(HEADERS) Makefile
$(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)