[BACK]Return to makefile.ztc CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot

Annotation of OpenXM_contrib/gnuplot/makefile.ztc, Revision 1.1

1.1     ! maekawa     1: # make file for Zortech C++ 3.x
        !             2:
        !             3: # where to place gnuplot.gih helpfile
        !             4: HELPFILE = gnuplot.gih
        !             5:
        !             6: # -c  means don't link
        !             7: # -f  means in-line 8087
        !             8: # -mx means X memory model
        !             9: # -o+space means optimize for space, -o means optimize for speed
        !            10: # -p means turn off autoprototyping (pre-ANSI codes)
        !            11: # Jm means relax type checking
        !            12: # one can disable command-line history by comment out -DREADLINE
        !            13:
        !            14: CFLAGS=-c -mx -o+space -Jm -DREADLINE -DHAVE_STRNICMP
        !            15: LINK=blinkx
        !            16: #LINK=386link
        !            17: CC=ztc
        !            18:
        !            19:
        !            20: OBJ1 =  bitmap.obj command.obj contour.obj eval.obj graphics.obj graph3d.obj
        !            21: OBJ2 = help.obj internal.obj misc.obj parse.obj plot.obj plot2d.obj plot3d.obj readline.obj
        !            22: OBJ3 = scanner.obj set.obj show.obj specfun.obj standard.obj stdfn.obj term.obj util.obj
        !            23: OBJ4 = version.obj binary.obj interpol.obj fit.obj matrix.obj
        !            24: OBJ5 =  datafile.obj alloc.obj
        !            25:
        !            26: OBJS = $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5)
        !            27:
        !            28: CSOURCE5 = term\aed.trm term\cgi.trm term\dumb.trm term\dxy.trm \
        !            29:        term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
        !            30:        term\hp2648.trm term\hpgl.trm term\hpljii.trm
        !            31: CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
        !            32:        term\iris4d.trm term\kyo.trm term\latex.trm term\fg.trm
        !            33: CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
        !            34:        term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
        !            35:        term\v384.trm term\x11.trm
        !            36: CSOURCE8 = contour.c specfun.c binary.c interpol.c
        !            37:
        !            38: all: gnuplot.exe $(HELPFILE) demo\bf_test.exe
        !            39:
        !            40: gnuplot.exe: $(OBJS)
        !            41:                         $(LINK) @linkopt.ztc
        !            42: #@linkopt.pha
        !            43:
        !            44: # default rules
        !            45:
        !            46: .c.obj:
        !            47:        $(CC) $(CFLAGS) $<
        !            48:
        !            49: bitmap.obj: bitmap.c bitmap.h plot.h
        !            50:
        !            51: command.obj: command.c plot.h setshow.h help.h fit.h
        !            52:        $(CC) $(CFLAGS) command.c
        !            53:
        !            54: contour.obj: contour.c plot.h
        !            55:
        !            56: eval.obj: eval.c plot.h
        !            57:
        !            58: graphics.obj: graphics.c plot.h setshow.h
        !            59:
        !            60: graph3d.obj: graphics.c plot.h setshow.h
        !            61:
        !            62: fit.obj: fit.c fit.h matrix.h plot.h
        !            63:
        !            64: matrix.obj: matrix.c matrix.h fit.h
        !            65:
        !            66: help.obj: help.c plot.h help.h
        !            67:
        !            68: internal.obj: internal.c plot.h
        !            69:
        !            70: misc.obj: misc.c plot.h setshow.h help.h
        !            71:
        !            72: parse.obj: parse.c plot.h
        !            73:        $(CC) $(CFLAGS) parse.c
        !            74:
        !            75: plot.obj: plot.c plot.h setshow.h
        !            76:        $(CC) $(CFLAGS) plot.c
        !            77:
        !            78: readline.obj: readline.c
        !            79:
        !            80: scanner.obj: scanner.c plot.h
        !            81:
        !            82: set.obj : set.c plot.h setshow.h
        !            83:
        !            84: show.obj: show.c plot.h setshow.h
        !            85:
        !            86: specfun.obj: specfun.c
        !            87:
        !            88: standard.obj: standard.c plot.h
        !            89:
        !            90: stdfn.obj: stdfn.c stdfn.h
        !            91:
        !            92: interpol.obj: interpol.c plot.h setshow.h
        !            93:
        !            94: # the CSOURCE? dependencies are not up to date (but who cares)
        !            95: term.obj: term.c term.h plot.h setshow.c bitmap.h $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
        !            96:        $(CC) $(CFLAGS) $(TERMFLAGS) -Iterm -I. term.c
        !            97:
        !            98: util.obj: util.c plot.h
        !            99:
        !           100: version.obj: version.c
        !           101:
        !           102: $(HELPFILE): doc2gih.exe docs\gnuplot.doc
        !           103:        doc2gih docs\gnuplot.doc $(HELPFILE)
        !           104:
        !           105: # convert gnuplot.doc to gnuplot.gih
        !           106: doc2gih.exe: docs\doc2gih.c docs\termdoc.c
        !           107:        $(CC) -mx -odoc2gih.exe docs\doc2gih.c docs\termdoc.c
        !           108:
        !           109: demo\bf_test.exe: bf_test.c binary.obj alloc.obj
        !           110:        $(CC) -mx -odemo\bf_test.exe bf_test.c binary.obj alloc.obj
        !           111:
        !           112: # clean target - remove all temp files, but leave executable intact
        !           113: # needed when changing configuration (model or overlaying)
        !           114:
        !           115: clean:
        !           116:        del *.obj
        !           117:        del gnuplot.map
        !           118:        del doc2gih.exe
        !           119:
        !           120: # realclean target - remove all files created by the makefile
        !           121:
        !           122: realclean: clean
        !           123:        del gnuplot.exe
        !           124:        del gnuplot.gih
        !           125:        del demo\bf_test.exe
        !           126:        del demo\binary1
        !           127:        del demo\binary2
        !           128:        del demo\binary3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>