debuggers.hg

view stubdom/caml/Makefile @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
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