Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix makefile wildcards

Do not work in make 3.82 without the explicit wildcard expansion
  • Loading branch information...
commit a105ff086ba1e7020a4d190fa0b51eae276dafd9 1 parent aaec81c
@dgud dgud authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 icons/Makefile
View
8 icons/Makefile
@@ -35,10 +35,10 @@ ERL_COMPILE_FLAGS += -Werror +debug_info
# Targets
# ----------------------------------------------------
-opt debug: $(TARGET_FILES)
+opt debug: collect_bmp.beam $(TARGET_FILES)
-$(EBIN)/wings_icon_%.bundle: %/*.bmp %/*.tga collect_bmp.beam about_wings.bmp
- erl $(ERL_FLAGS) -noinput -run collect_bmp start . $(ESRC)/$* $@ -s erlang halt;
+$(EBIN)/wings_icon_%.bundle: ${wildcard %/*.bmp} ${wildcard %/*.tga} collect_bmp.beam about_wings.bmp
+ erl $(ERL_FLAGS) -noinput -run collect_bmp start . $(ESRC)/$* $@ -s erlang halt
clean:
for ICONSET in $(ICONSETS); do \
@@ -47,4 +47,4 @@ clean:
rm -f collect_bmp.beam
%.beam: $(ESRC)/%.erl
- $(ERLC) $(ERL_COMPILE_FLAGS) -o$(EBIN) $<
+ $(ERLC) $(ERL_COMPILE_FLAGS) -o. $<
Please sign in to comment.
Something went wrong with that request. Please try again.