TOP = ../../.. SWIG = $(TOP)/../swig SWIGOPT = -I../../Include SRCS = TARGET = gifsimple INTERFACE = simple.i LIBS = -L../.. -lgifplot -lm INCLUDES = -I../../Include MLFILE = simple.ml IOBJS = simple_wrap.o simple.cmo runme.cmo PROGFILE = runme.ml all:: static static:: $(MAKE) -f $(TOP)/Makefile TOP='$(TOP)' \ IOBJS='$(IOBJS)' PROGFILE='$(PROGFILE)' \ SRCS='$(SRCS)' SWIG='$(SWIG)' MLFILE='$(MLFILE)' \ INCLUDES='$(INCLUDES)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' ocaml_static dynamic:: $(MAKE) -f $(TOP)/Makefile TOP='$(TOP)' \ IOBJS='$(IOBJS)' PROGFILE='$(PROGFILE)' \ SRCS='$(SRCS)' SWIG='$(SWIG)' MLFILE='$(MLFILE)' \ INCLUDES='$(INCLUDES)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' ocaml_static clean:: $(MAKE) -f $(TOP)/Makefile MLFILE='$(MLFILE)' ocaml_clean rm -f *.gif check: all