Change .asm files that are actually only ever included into .inc-files, and rename all files as _header.inc & _footer.inc, depending where they are included.

This commit is contained in:
Veikko Sariola
2020-10-20 09:06:53 +03:00
parent 06e8365c06
commit af14cd310b
104 changed files with 190 additions and 190 deletions

View File

@ -485,22 +485,22 @@ su_update_voices_skipadd:
;-------------------------------------------------------------------------------
; Include the rest of the code
;-------------------------------------------------------------------------------
%include "opcodes/arithmetic.asm"
%include "opcodes/flowcontrol.asm"
%include "opcodes/sources.asm"
%include "opcodes/sinks.asm"
%include "opcodes/arithmetic_footer.inc"
%include "opcodes/flowcontrol_footer.inc"
%include "opcodes/sources_footer.inc"
%include "opcodes/sinks_footer.inc"
; warning: at the moment effects has to be assembled after
; sources, as sources.asm defines SU_USE_WAVESHAPER
; if needed.
%include "opcodes/effects.asm"
%include "introspection.asm"
%include "opcodes/effects_footer.inc"
%include "introspection_footer.inc"
%ifidn __OUTPUT_FORMAT__,win64
%include "win64/gmdls_win64.asm"
%include "win64/gmdls_win64_footer.inc"
%endif
%ifidn __OUTPUT_FORMAT__,win32
%include "win32/gmdls_win32.asm"
%include "win32/gmdls_win32_footer.inc"
%endif
;-------------------------------------------------------------------------------

View File

@ -88,11 +88,11 @@
section .text ; yasm throws section redeclaration warnings if strucs are defined without a plain .text section
%include "opcodes/flowcontrol.inc"
%include "opcodes/arithmetic.inc"
%include "opcodes/effects.inc"
%include "opcodes/sources.inc"
%include "opcodes/sinks.inc"
%include "opcodes/flowcontrol_header.inc"
%include "opcodes/arithmetic_header.inc"
%include "opcodes/effects_header.inc"
%include "opcodes/sources_header.inc"
%include "opcodes/sinks_header.inc"
;-------------------------------------------------------------------------------
; synth defines