debuggers.hg

view stubdom/caml/Makefile @ 22848:6341fe0f4e5a

Added tag 4.1.0-rc2 for changeset 9dca60d88c63
author Keir Fraser <keir@xen.org>
date Tue Jan 25 14:06:55 2011 +0000 (2011-01-25)
parents e0221531d0e5
children
line source
1 XEN_ROOT = ../..
3 include $(XEN_ROOT)/Config.mk
5 CAMLLIB = $(shell $(OCAMLC_CROSS_PREFIX)ocamlc -where)
6 DEF_CPPFLAGS += -I$(CAMLLIB)
8 OCAMLOPT=$(OCAMLC_CROSS_PREFIX)ocamlopt
10 OBJS := hello.cmx
11 LIBS :=
13 all: main-caml.o caml.o
15 %.cmx: %.ml
16 $(OCAMLOPT) -c $< -o $@
18 caml.o: $(OBJS)
19 $(OCAMLOPT) $(LIBS) $^ -output-obj -o $@
21 clean:
22 rm -f *.a *.o *.cmx *.cmi