home *** CD-ROM | disk | FTP | other *** search
Makefile | 2001-03-07 | 1.2 KB | 44 lines |
- SHELL = sh
- _O = .obj
- _A = .lib
- AR = emxomfar
-
- GNUPLOT_OBJS = bitmap$(_O) term$(_O) util$(_O) version$(_O) stdfn$(_O) color-short$(_O)
- GNUPLOT_NAME = gnpltdrw
-
- GNUPLOT_DEP = gnuplot.def gnuplot-small$(_A) shim_gnuplot$(_O)
-
- $(GNUPLOT_NAME).dll: $(GNUPLOT_DEP)
- gcc -s -O2 -Zdll -Zomf -Zmt -Zcrtdll $(GNUPLOT_DEP) -o $@ -lvesa -ljmgraph -lgd -lpng_import -lz_import || rm $@
-
- # In fact only get_term_ftable() is used out of this list...
- gnuplot.def:
- echo > $@ \
- "LIBRARY '$(GNUPLOT_NAME)' INITINSTANCE TERMINSTANCE\n" \
- "DESCRIPTION '@#comp.graphics.gnuplot:3.7.0.9+pm3d#@The drawing subsystem of gnuplot'" \n\
- "CODE LOADONCALL" \n\
- "DATA LOADONCALL NONSHARED MULTIPLE" \n\
- "EXPORTS" \n\
- " term_start_multiplot" \n\
- " change_term" \n\
- " term_end_plot" \n\
- " term_set_output" \n\
- " term_start_plot" \n\
- " term_end_multiplot" \n\
- " term_init" \n\
- " get_term_ftable" \n\
- " list_terms"
-
- gnuplot_s$(_A): gnuplot.def
- emximp -o $@ gnuplot.def
-
- gnuplot-small$(_A): $(GNUPLOT_OBJS)
- $(AR) cr $@ $(GNUPLOT_OBJS)
-
- shim_gnuplot$(_O): shim_gnuplot.c
- gcc -I../src/graph -O2 -Zomf -c shim_gnuplot.c
-
- color-small$(_O): color-small.c
- gcc -I../src/graph -O2 -Zomf -c color-small.c
-
-