From: Michal Sojka Date: Thu, 3 Aug 2006 19:25:00 +0000 (+0000) Subject: Fixed assembler compilation in keil166. X-Git-Tag: v0.1~173 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/9cf45a24097c77581e39e52c641589d82e9445ae Fixed assembler compilation in keil166. darcs-hash:20060803192547-f2ef6-1b5abcc26644f0a111d8c388baf1cda34d3c10e5.gz --- diff --git a/snippets/keil16x b/snippets/keil16x index b8f4ecf..31dce4d 100644 --- a/snippets/keil16x +++ b/snippets/keil16x @@ -3,6 +3,7 @@ # # CCDIRECTIVES .. directives to pass to C166 compiler # LIDIRECTIVES .. directives to pass to L166 linker +# ASDIRECTIVES .. directives to pass to A166 assembler # Rules for compilation of C, C++ and assembler sources using Keil's # (X)C16x tools. For documentation see gcc snippet. @@ -63,12 +64,7 @@ endef define COMPILE_S_o_template $(2): $(1) $(LOCAL_CONFIG_H) @$(QUIET_CMD_ECHO) " ASM $$@" - $(Q) \ - cp $$< .; \ - if [ -f $(SOURCES_DIR)/reg1210.inc ] ; then \ - cp $(SOURCES_DIR)/reg1210.inc .; \ - fi;\ - $$(AS) $(2:%$(OBJ_EXT)=%.asm) + $(Q)$$(AS) '$$(shell cygpath -w $(1))' 'OBJECT($$@)' 'PRINT($$(@:%$$(OBJ_EXT)=%.lst))' '$$(ASDIRECTIVES)' endef