Advertisement
tobast

Untitled

Mar 3rd, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. LIBS=unix.cmxa
  2. OBJS=fsys.cmx
  3. OBJSO=fsys.cmo
  4.  
  5. all: $(OBJS) $(OBJSO)
  6. ocamlopt $(LIBS) $(OBJS)
  7.  
  8. %.cmx:%.ml
  9. ocamlopt $(LIBS) -c $< -o $@
  10.  
  11. %.cmo:%.ml
  12. ocamlc -c $< -o $@
  13.  
  14. clean:
  15. rm -f $(OBJS) $(OBJSO) *.o *.cmi a.out
  16.  
  17. prompt: all
  18. ocamlwrap unix.cma fsys.cmo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement