aboutsummaryrefslogtreecommitdiff
blob: 2de6772149b8e444aaff9fdc97a357261b873f13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- project.mak.orig	2011-11-14 18:18:05.702705850 -0500
+++ project.mak	2011-11-14 18:18:58.142704311 -0500
@@ -23,12 +23,14 @@
 
 CMIOBJ = $(MLISRC:%.mli=%.cmi)
 TOINSTALL = zarith.a zarith.cma zarith.cmxa zarith.cmxs libzarith.a $(MLISRC) $(CMIOBJ)
-
+TOINSTALLbyte = zarith.cma libzarith.a $(MLISRC) $(CMIOBJ)
 
 # build targets
 ###############
 
-all: $(TOINSTALL) test
+all: $(TOINSTALL)
+
+all-byte: $(TOINSTALLbyte)
 
 zarith.cma: $(MLSRC:%.ml=%.cmo)
 	$(OCAMLMKLIB) -o zarith $+ $(LIBS)
@@ -80,8 +82,9 @@
 
 ifeq ($(INSTMETH),findlib)
 install:
-	$(OCAMLFIND) install -destdir $(INSTALLDIR) zarith META $(TOINSTALL) dllzarith.so
-
+	$(OCAMLFIND) install zarith META $(TOINSTALL) dllzarith.so
+install-byte:
+	$(OCAMLFIND) install zarith META $(TOINSTALLbyte) dllzarith.so
 uninstall:
 	$(OCAMLFIND) remove -destdir $(INSTALLDIR) zarith
 endif