Skip to content

Commit

Permalink
[enhance] Makefile.private: just build flat by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Ye committed Oct 9, 2012
1 parent 190bc83 commit 11ee30b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile.private
@@ -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
Expand Down

0 comments on commit 11ee30b

Please sign in to comment.