Skip to content

Commit

Permalink
makefile fix and gif
Browse files Browse the repository at this point in the history
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/mltk@4727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
camlspotter committed Apr 23, 2002
1 parent 40ed1b7 commit f2de43f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions otherlibs/labltk/examples_labltk/Makefile
Expand Up @@ -7,29 +7,29 @@ all: hello demo eyes calc clock tetris lang
opt: hello.opt demo.opt eyes.opt calc.opt clock.opt tetris.opt

hello: hello.cmo
$(CAMLC) $(COMPFLAGS) -o hello labltk.cma hello.cmo
$(CAMLC) $(COMPFLAGS) -o hello $(LIBNAME).cma hello.cmo

demo: demo.cmo
$(CAMLC) $(COMPFLAGS) -o demo labltk.cma demo.cmo
$(CAMLC) $(COMPFLAGS) -o demo $(LIBNAME).cma demo.cmo

eyes: eyes.cmo
$(CAMLC) $(COMPFLAGS) -o eyes labltk.cma eyes.cmo
$(CAMLC) $(COMPFLAGS) -o eyes $(LIBNAME).cma eyes.cmo

calc: calc.cmo
$(CAMLC) $(COMPFLAGS) -o calc labltk.cma calc.cmo
$(CAMLC) $(COMPFLAGS) -o calc $(LIBNAME).cma calc.cmo

clock: clock.cmo
$(CAMLC) $(COMPFLAGS) -o clock labltk.cma unix.cma clock.cmo
$(CAMLC) $(COMPFLAGS) -o clock $(LIBNAME).cma unix.cma clock.cmo

clock.opt: clock.cmx
$(CAMLOPT) $(COMPFLAGS) -o clock.opt \
labltk.cmxa unix.cmxa clock.cmx
$(LIBNAME).cmxa unix.cmxa clock.cmx

tetris: tetris.cmo
$(CAMLC) $(COMPFLAGS) -o tetris labltk.cma tetris.cmo
$(CAMLC) $(COMPFLAGS) -o tetris $(LIBNAME).cma tetris.cmo

lang: lang.cmo
$(CAMLC) $(COMPFLAGS) -o lang labltk.cma lang.cmo
$(CAMLC) $(COMPFLAGS) -o lang $(LIBNAME).cma lang.cmo

clean:
rm -f hello demo eyes calc clock tetris lang *.opt *.o *.cm*
Expand All @@ -47,4 +47,4 @@ clean:
$(CAMLOPT) -c $(COMPFLAGS) $<

.cmx.opt:
$(CAMLOPT) $(COMPFLAGS) -o $@ labltk.cmxa $<
$(CAMLOPT) $(COMPFLAGS) -o $@ $(LIBNAME).cmxa $<
2 changes: 1 addition & 1 deletion otherlibs/labltk/examples_labltk/Makefile.nt
Expand Up @@ -5,7 +5,7 @@ COMPFLAGS= -I ../lib -I ../labltk -I ../support
LINKFLAGS= -I ../lib -I ../labltk -I ../support

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

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

Expand Down

0 comments on commit f2de43f

Please sign in to comment.