home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
analg211.zip
/
Make.Risc
< prev
next >
Wrap
Text File
|
1997-03-14
|
2KB
|
53 lines
# Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
CC = cc # which compiler to use: eg cc, acc, gcc. NB Different
# compilers need different CFLAGS, e.g., -O instead of -O2.
CFLAGS = # options, e.g. for optimisation or ANSI compilation.
DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT
OS = RISCOS # Operating system: UNIX, DOS, WIN32, MAC, RISCOS or VMS
LIBS = c:o.Stubs # extra libraries needed; Solaris 2 (SunOS 5) needs
# LIBS = -lnsl -lm and SCO Unix needs LIBS = -lsocket -lm
# IRIX reportedly needs LIBS = -lc -lm
PAGER = more # Your favourite pager program, e.g. more
PROGRAM = analog
SOURCES = alias.c analog.c formgen.c hash.c init.c init2.c macstuff.c \
output.c output2.c output3.c sscanf.c utils.c
OBJS = alias.o analog.o formgen.o hash.o init.o init2.o macstuff.o \
output.o output2.o output3.o sscanf.o utils.o
HEADERS = analhead.h analhea2.h
PROGRAM = analog
SOURCES = alias.c analog.c formgen.c hash.c init.c init2.c macstuff.c \
output.c output2.c output3.c sscanf.c utils.c
OBJS = alias.o analog.o formgen.o hash.o init.o init2.o macstuff.o \
output.o output2.o output3.o sscanf.o utils.o
HEADERS = analhead.h analhea2.h
# Form interface options:
FORMPROG = analform.cgi # The program that processes the data from the formFORMSRC = 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)
link -aif -o $(PROGRAM) $(OBJS) $(LIBS)
@echo '***'
@echo '***IMPORTANT: You must read the licence before using analog'
@echo '***'
.SUFFIXES: .o .c
.c.o:; $(CC) $(CFLAGS) -c -IC: $(DEFS) -D$(OS) -o $@ $<
$(FORMPROG): $(FORMSRC) Makefile
$(CC) $(CFLAGS) $(FORMSRC) -o $(FORMPROG)
$(FORMHTML): $(PROGRAM) Makefile
./$(PROGRAM) -form $(FORMOPTS) +O$(FORMHTML)
form: $(FORMHTML) $(FORMPROG)
clean:
remove analog
wipe o.* ~v~c