summaryrefslogtreecommitdiff
path: root/n/avr/make/Makefile.host
diff options
context:
space:
mode:
authorschodet2005-08-02 21:14:07 +0000
committerschodet2005-08-02 21:14:07 +0000
commit98694a3cab902c3ef3d1bdab941980ed6c94d67d (patch)
tree99527827d8a05b7650490ca0bb8dbf9530e5e908 /n/avr/make/Makefile.host
parent3993c01f8c9ed6647eb22fc2a3a49c9a519474a4 (diff)
Ajout du support des fichiers asm.
Diffstat (limited to 'n/avr/make/Makefile.host')
-rw-r--r--n/avr/make/Makefile.host4
1 files changed, 2 insertions, 2 deletions
diff --git a/n/avr/make/Makefile.host b/n/avr/make/Makefile.host
index e46c2b0..3fd343f 100644
--- a/n/avr/make/Makefile.host
+++ b/n/avr/make/Makefile.host
@@ -20,13 +20,13 @@ host: exe
HOST_PROGS += $(PROGS)
HOST_EXES = $(HOST_PROGS:%=%.host)
-HOST_SOURCES = $(filter-out %.avr.c,$(SOURCES))
+HOST_SOURCES = $(filter-out %.avr.c %.avr.S,$(SOURCES))
HOST_OBJECTS = $(HOST_SOURCES:%.c=%.host.o)
exe: $(HOST_EXES)
define AVR_PROG_template
-$(1).host: $$(patsubst %.c,%.host.o,$$(filter-out %.avr.c,$$($(1)_SOURCES)))
+$(1).host: $$(patsubst %.c,%.host.o,$$(filter-out %.avr.c %.avr.S,$$($(1)_SOURCES)))
endef
$(foreach prog,$(HOST_PROGS),$(eval $(call AVR_PROG_template,$(prog))))