Docs GODI Archive
Projects Blog Link DB

Search GODI:


More options
File share/godi-camltemplate/examples/thread/Makefile GODI Package godi-camltemplate
 
   Makefile  
TOP_DIR := ../..
-include $(TOP_DIR)/Makefile.rules
include ../examples.rules

INCDIRS := -I $(shell ocamlfind query pcre) -I $(CAMLTEMPLATE_DIR)
BYTE_LIBS := unix.cma threads.cma pcre.cma camltemplate.cma camlTemplate_mt.cmo
NATIVE_LIBS := unix.cmxa threads.cmxa pcre.cmxa camltemplate.cmxa camlTemplate_mt.cmx

SOURCES := thread_test.ml
RESULT := thread_test

.PHONY: all opt clean
all: 
	ocamlc -thread $(INCDIRS) -o $(RESULT) $(BYTE_LIBS) $(SOURCES)

opt:
	ocamlopt -thread $(INCDIRS) -o $(RESULT) $(NATIVE_LIBS) $(SOURCES)

clean:
	rm -f $(RESULT) *.cm? *.o *~

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml