diff options
Diffstat (limited to 'lib/wx/examples/Makefile')
-rw-r--r-- | lib/wx/examples/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/lib/wx/examples/Makefile b/lib/wx/examples/Makefile new file mode 100644 index 0000000000..ae0ed687eb --- /dev/null +++ b/lib/wx/examples/Makefile @@ -0,0 +1,45 @@ +# +# %CopyrightBegin% +# +# Copyright Ericsson AB 2009. All Rights Reserved. +# +# The contents of this file are subject to the Erlang Public License, +# Version 1.1, (the "License"); you may not use this file except in +# compliance with the License. You should have received a copy of the +# Erlang Public License along with this software. If not, it can be +# retrieved online at http://www.erlang.org/. +# +# Software distributed under the License is distributed on an "AS IS" +# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +# the License for the specific language governing rights and limitations +# under the License. +# +# %CopyrightEnd% +# + +include ../vsn.mk +include ../config.mk + +SUBDIRS = demo sudoku simple xrc + +ifeq ($(INSIDE_ERLSRC),true) +SUB_DIRECTORIES=$(SUBDIRS) +# ---------------------------------------------------- +# Default Subdir Targets +# ---------------------------------------------------- +include $(ERL_TOP)/make/otp_subdir.mk + +else +# standalone build +opt debug clean: + @for d in $(SUBDIRS); do \ + if test ! -d $$d ; then \ + echo "=== Skipping subdir $$d" ; \ + else \ + (cd $$d && $(MAKE) $@) ; \ + fi ; \ + done + +docs: + +endif |