summaryrefslogtreecommitdiff
path: root/www/analog/files/patch-aa
blob: 2b47d09ef369a6abba2c1ba31e6c622f7088869d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
*** 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)