home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-03-07 | 2.6 KB | 99 lines |
- # GNUPLOT makefile for GCC-ST 1.40 and bmake
- # Modified from the BorlandC makefile by Alexander Lehmann
-
- # where to place gnuplot.gih helpfile
- HELPFILE = gnuplot.gih
- # name of CC
- CC = gcc
-
- # -O means optimisation in general
- # o-f-p avoids link-unlink instructions
- # s-r optimisation of loops and elimination of iterations variables
- # c-r improve register movement
-
- OPTFLAGS = -O -fomit-frame-pointer -fstrength-reduce -fcombine-regs
-
- # -c means don't link
- # -DREADLINE to use the history/line editing capability. If you want this
- # capability add -DREADLINE to CFLAGS (currently on)
-
- CFLAGS = -c $(OPTFLAGS) -DATARI -DNOGAMMA -DREADLINE
- TERMFLAGS =
-
- OBJS = bitmap.o command.o contour.o eval.o graphics.o graph3d.o \
- help.o internal.o misc.o parse.o plot.o readline.o \
- scanner.o setshow.o standard.o term.o util.o version.o
-
- CSOURCE5 = term\aed.trm term\cgi.trm term\dumb.trm term\dxy.trm \
- term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
- term\hp2648.trm term\hpgl.trm term\hpljii.trm
- CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
- term\iris4d.trm term\kyo.trm term\latex.trm term\pc.trm
- CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
- term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
- term\v384.trm term\x11.trm term\atari.trm
-
- all: gnuplot.ttp $(HELPFILE)
-
- gnuplot.ttp: $(OBJS)
- $(CC) -o $@ $(OBJS) -lpml -lgem
- fixstk 80k $@
- # to run the bivariat demo ca. 75k stack is needed, all others work with ca. 32k
-
- # default rules
-
- %.o: %.c
- $(CC) -o $@ $(CFLAGS) $<
-
- bitmap.o: bitmap.c bitmap.h plot.h
-
- command.o: command.c plot.h setshow.h help.h
- $(CC) -o $@ $(CFLAGS) -DHELPFILE="$(HELPFILE)" command.c
-
- contour.o: contour.c plot.h
-
- eval.o: eval.c plot.h
-
- graphics.o: graphics.c plot.h setshow.h
-
- graph3d.o: graph3d.c plot.h setshow.h
-
- help.o: help.c plot.h help.h
-
- internal.o: internal.c plot.h
-
- misc.o: misc.c plot.h setshow.h help.h
-
- parse.o: parse.c plot.h
-
- plot.o: plot.c plot.h setshow.h
-
- readline.o: readline.c
-
- scanner.o: scanner.c plot.h
-
- setshow.o: setshow.c plot.h setshow.h
-
- standard.o: standard.c plot.h
-
- term.o: term.c term.h plot.h setshow.c bitmap.h $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
- $(CC) -o $@ $(CFLAGS) $(TERMFLAGS) -Iterm term.c
-
- util.o: util.c plot.h
-
- version.o: version.c
-
- # convert gnuplot.doc to gnuplot.gih
- $(HELPFILE): doc2gih.ttp docs\gnuplot.doc
- doc2gih.ttp docs\gnuplot.doc $(HELPFILE)
-
- doc2gih.ttp: docs\doc2gih.c
- $(CC) -o doc2gih.ttp docs\doc2gih.c
-
- # empty rules for file extensions
- %.trm:
-
- %.doc:
-
-
-