ocaml / otherlibs / labltk / examples_labltk / Makefile.nt

doligez d6828bc 















doligez 7b4292a 
furuse 03887df 





doligez e7d6b93 
furuse 03887df 




doligez e7d6b93 
furuse 03887df 


doligez e7d6b93 
furuse 03887df 


doligez e7d6b93 
furuse 03887df 


doligez e7d6b93 
furuse 03887df 


doligez e7d6b93 
furuse 03887df 


doligez e7d6b93 
furuse 03887df 


doligez e7d6b93 
furuse 03887df 
doligez e7d6b93 
furuse 03887df 








#######################################################################
#                                                                     #
#                 MLTk, Tcl/Tk interface of OCaml                     #
#                                                                     #
#    Francois Rouaix, Francois Pessaux, Jun Furuse and Pierre Weis    #
#               projet Cristal, INRIA Rocquencourt                    #
#            Jacques Garrigue, Kyoto University RIMS                  #
#                                                                     #
#  Copyright 2002 Institut National de Recherche en Informatique et   #
#  en Automatique and Kyoto University.  All rights reserved.         #
#  This file is distributed under the terms of the GNU Library        #
#  General Public License, with the special exception on linking      #
#  described in file LICENSE found in the OCaml source tree.          #
#                                                                     #
#######################################################################

include ../support/Makefile.common

# We are using the non-installed library !
COMPFLAGS= -I ../lib -I ../labltk -I ../support
LINKFLAGS= -I ../lib -I ../labltk -I ../support

# Use pieces of Makefile.config
TKLINKOPT=$(LIBNAME).cma $(TKLIBS)

all: hello.exe demo.exe eyes.exe calc.exe clock.exe tetris.exe lang.exe

hello.exe: hello.cmo
	$(CAMLC) -custom $(LINKFLAGS) $(TKLINKOPT) \
		-o $@ hello.cmo

demo.exe: demo.cmo
	$(CAMLC) -custom $(LINKFLAGS) $(TKLINKOPT) \
		-o $@ demo.cmo

eyes.exe: eyes.cmo
	$(CAMLC) -custom $(LINKFLAGS) $(TKLINKOPT) \
		-o $@ eyes.cmo

calc.exe: calc.cmo
	$(CAMLC) -custom $(LINKFLAGS) $(TKLINKOPT) \
		-o $@ calc.cmo

clock.exe: clock.cmo
	$(CAMLC) -custom $(LINKFLAGS) $(TKLINKOPT) unix.cma \
		-o $@ clock.cmo

tetris.exe: tetris.cmo
	$(CAMLC) -custom $(LINKFLAGS) $(TKLINKOPT) \
		-o $@ tetris.cmo

lang.exe: lang.cmo
	$(CAMLC) -custom $(LINKFLAGS) $(TKLINKOPT) \
		-o $@ lang.cmo

clean :
	rm -f *.cm? *.exe

.SUFFIXES :
.SUFFIXES : .mli .ml .cmi .cmo

.mli.cmi:
	$(CAMLCOMP) $(COMPFLAGS) $<

.ml.cmo:
	$(CAMLCOMP) $(COMPFLAGS) $<
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.