mirror of
https://github.com/cc65/cc65.git
synced 2025-02-03 22:32:24 +00:00
Replaced three function calls with one.
This commit is contained in:
parent
39a877175b
commit
151cadf019
@ -38,6 +38,8 @@ uninstall:
|
||||
|
||||
.PHONY: all $(PROGS) mostlyclean clean install uninstall
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
##########
|
||||
|
||||
define INSTALL_recipe
|
||||
@ -58,7 +60,7 @@ endef
|
||||
|
||||
define OBJS_template
|
||||
|
||||
$(1)_OBJS := $$(addprefix ../wrk/,$$(addsuffix .o,$$(basename $$(wildcard $(1)/*.c))))
|
||||
$(1)_OBJS := $$(patsubst %.c,../wrk/%.o,$$(wildcard $(1)/*.c))
|
||||
|
||||
$$($(1)_OBJS): | ../wrk/$(1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user