Skip to content

Commit

Permalink
Fix makefile wildcards
Browse files Browse the repository at this point in the history
Do not work in make 3.82 without the explicit wildcard expansion
  • Loading branch information
dgud committed Mar 11, 2013
1 parent aaec81c commit a105ff0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions icons/Makefile
Expand Up @@ -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 \
Expand All @@ -47,4 +47,4 @@ clean:
rm -f collect_bmp.beam

%.beam: $(ESRC)/%.erl
$(ERLC) $(ERL_COMPILE_FLAGS) -o$(EBIN) $<
$(ERLC) $(ERL_COMPILE_FLAGS) -o. $<

0 comments on commit a105ff0

Please sign in to comment.