summaryrefslogtreecommitdiff
path: root/examples/rules.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-05-14 14:07:06 +0700
committerhathach <[email protected]>2019-05-14 14:07:06 +0700
commit851cf5426a7fffaebff146cb6fae0a698e4c3a55 (patch)
treed960c06c1c7993e516841bf603cb417e55d69767 /examples/rules.mk
parent8094bdce23a72264e54641ec4c34189935829251 (diff)
more makefile clean up
Diffstat (limited to 'examples/rules.mk')
-rw-r--r--examples/rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index df9ffb7e5..9d09dfd1f 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -22,6 +22,7 @@ INC += $(TOP)/src
#
CFLAGS += $(addprefix -I,$(INC))
LDFLAGS += $(CFLAGS) -fshort-enums -Wl,-T,$(TOP)/$(LD_FILE) -Wl,[email protected] -Wl,-cref -Wl,-gc-sections -specs=nosys.specs -specs=nano.specs
+ASFLAGS += $(CFLAGS)
# Assembly files can be name with upper case .S, convert it to .s
SRC_S := $(SRC_S:.S=.s)