1998-04-08 18:18:26 +00:00
|
|
|
*** Makefile.orig Wed Apr 8 17:37:54 1998
|
|
|
|
--- Makefile Wed Apr 8 19:42:19 1998
|
1997-05-02 23:16:58 +00:00
|
|
|
***************
|
1998-04-08 18:18:26 +00:00
|
|
|
*** 2,11 ****
|
|
|
|
# Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
|
1997-05-02 23:16:58 +00:00
|
|
|
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.
|
1998-04-08 18:18:26 +00:00
|
|
|
# HP/UX cc needs -Aa
|
|
|
|
# Some Linuces might need -I/usr/src/linux/include
|
|
|
|
! DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT
|
1997-05-02 23:16:58 +00:00
|
|
|
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC or VMS
|
1998-04-08 18:18:26 +00:00
|
|
|
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/
|
1997-05-02 23:16:58 +00:00
|
|
|
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.
|
1998-04-08 18:18:26 +00:00
|
|
|
# HP/UX cc needs -Aa
|
|
|
|
# Some Linuces might need -I/usr/src/linux/include
|
|
|
|
! #DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT
|
|
|
|
! DEFS = -DPREFIX=\"$(PREFIX)\"
|
1997-05-02 23:16:58 +00:00
|
|
|
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC or VMS
|
1998-04-08 18:18:26 +00:00
|
|
|
LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs
|
|
|
|
# LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
|
1997-05-02 23:16:58 +00:00
|
|
|
***************
|
1998-04-08 18:18:26 +00:00
|
|
|
*** 26,31 ****
|
|
|
|
--- 27,34 ----
|
1997-05-02 23:16:58 +00:00
|
|
|
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)
|