Permalink
Browse files

[enhance] Makefile.private: just build flat by default

  • Loading branch information...
1 parent 190bc83 commit 11ee30baf4fda70f4710f883e69c60826df43665 @Aqua-Ye Aqua-Ye committed Oct 3, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 Makefile.private
View
@@ -1,14 +1,21 @@
#!/usr/bin/env make
.PHONY: default
-default: all
+default: flat
include Makefile
ifneq ($(HAS_CAMLIDL)$(HAS_LIBNATPMP)$(HAS_MINIUPNPC),111)
DISABLED_LIBS = libnattraversal
endif
+.PHONY: flat
+flat: $(MYOCAMLBUILD)
+ $(OCAMLBUILD) $(call target-tools,$(ALL_TOOLS)) opa-packages.stamp
+ @$(call copy-tools,$(ALL_TOOLS))
+ $(MAKE) manpages
+ $(MAKE) opa_tools
+
.PHONY: all
all: $(MYOCAMLBUILD)
$(OCAMLBUILD) $(call target-tools,$(ALL_TOOLS)) opa-both-packages.stamp

0 comments on commit 11ee30b

Please sign in to comment.