native compilation before installing

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2774 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jacques Garrigue 2000-02-01 06:50:59 +00:00
parent dd1eae5c34
commit af07b51995
1 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,7 @@ COMPFLAGS=-I ../lib -I ../support
all: hello demo eyes calc clock tetris
opt: hello.opt demo.opt eyes.opt calc.opt tetris.opt
opt: hello.opt demo.opt eyes.opt calc.opt clock.opt tetris.opt
hello: hello.cmo
$(LABLC) -custom $(COMPFLAGS) -o hello tk41.cma hello.cmo $(TKLINKOPT)
@ -23,8 +23,9 @@ clock: clock.cmo
$(TKLINKOPT) -cclib -lunix
clock.opt: clock.cmx
$(CAMLOPT) $(COMPFLAGS) -o clock.opt tk41.cmxa unix.cmxa clock.cmx \
$(TKLINKOPT) -cclib -lunix
$(CAMLOPT) $(COMPFLAGS) -o clock.opt \
tk41.cmxa -I $(OTHERS)/unix unix.cmxa clock.cmx \
$(TKLINKOPT) -cclib "-L$(OTHERS)/unix -lunix"
tetris: tetris.cmo
$(LABLC) -custom $(COMPFLAGS) -o tetris tk41.cma tetris.cmo $(TKLINKOPT)
@ -45,4 +46,4 @@ clean:
$(CAMLOPT) -c $(COMPFLAGS) $<
.cmx.opt:
labltkopt $(COMPFLAGS) -o $@ $<
$(CAMLOPT) $(COMPFLAGS) -o $@ tk41.cmxa $< $(TKLINKOPT)