Changeset 272 in xtideuniversalbios
- Timestamp:
- Feb 27, 2012, 4:44:10 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/makefile
r258 r272 3 3 # # 4 4 # Valid makefile targets are: # 5 # all Removes existing files and builds binary file in \Build # 6 # build Builds binary file in \Build # 5 # all Removes existing files and builds binary files in \Build # 6 # small Builds 8 kiB binaries only (without checksum) # 7 # large Builds 15 kiB binaries only (without checksum) # 7 8 # clean Removes all files from \Build # 8 9 # checksum* Builds all and then generates checksum byte to all binary files # … … 66 67 # Assembler preprocessor defines. # 67 68 ################################################################# 68 DEFINES = INCLUDE_MENU_LIBRARY EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS MODULE_EBIOS MODULE_S ERIAL MODULE_STRINGS_COMPRESSED MODULE_SERIAL_FLOPPY69 DEFINES_XT = ELIMINATE_CGA_SNOW 70 DEFINES_XTPLUS = ELIMINATE_CGA_SNOW USE_186 71 DEFINES_AT = USE_186 USE_286 USE_AT 69 DEFINES = INCLUDE_MENU_LIBRARY EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS MODULE_EBIOS MODULE_STRINGS_COMPRESSED 70 DEFINES_XT = ELIMINATE_CGA_SNOW MODULE_SERIAL MODULE_SERIAL_FLOPPY 71 DEFINES_XTPLUS = ELIMINATE_CGA_SNOW USE_186 MODULE_SERIAL MODULE_SERIAL_FLOPPY 72 DEFINES_AT = USE_186 USE_286 USE_AT MODULE_SERIAL MODULE_SERIAL_FLOPPY 72 73 DEFINES_XT_LARGE = $(DEFINES_XT) MODULE_JRIDE 73 74 DEFINES_XTPLUS_LARGE = $(DEFINES_XTPLUS) MODULE_JRIDE 74 75 DEFINES_AT_LARGE = $(DEFINES_AT) MODULE_JRIDE 76 DEFINES_JRIDE_8K = ELIMINATE_CGA_SNOW MODULE_JRIDE 75 77 76 78 … … 91 93 DEFS_XTPLUS_LARGE = $(DEFINES_XTPLUS_LARGE:%=-D%) -DROMSIZE=$(ROMSIZE_LARGE) 92 94 DEFS_AT_LARGE = $(DEFINES_AT_LARGE:%=-D%) -DROMSIZE=$(ROMSIZE_LARGE) 95 DEFS_JRIDE_8K = $(DEFINES_JRIDE_8K:%=-D%) -DROMSIZE=$(ROMSIZE) 93 96 94 97 # Add -I in front of all header directories … … 128 131 ############################################ 129 132 130 .PHONY: all at at_large xtplus xtplus_large xt xt_large clean 133 # Make clean debug and release versions 134 all: clean small large 135 @echo All done! 131 136 132 # Make clean debug and release versions 133 all: clean at at_large xtplus xtplus_large xt xt_large 134 @echo All done! 137 small: at xtplus xt jride_8k 138 @echo All 8 kiB binaries built! 139 140 large: at_large xtplus_large xt_large 141 @echo All 15 kiB binaries build! 135 142 136 143 at: 137 144 @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT) -l"$(TARGET)_at.lst" -o"$(TARGET)_at.bin" 138 @echo AT version "$(TARGET)_at.bin" built.145 @echo * 8k AT version "$(TARGET)_at.bin" built. 139 146 140 147 at_large: 141 148 @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT_LARGE) -l"$(TARGET)_atl.lst" -o"$(TARGET)_atl.bin" 142 @echo LargeAT version "$(TARGET)_atl.bin" built.149 @echo *15k AT version "$(TARGET)_atl.bin" built. 143 150 144 151 xtplus: 145 152 @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS) -l"$(TARGET)_xtp.lst" -o"$(TARGET)_xtp.bin" 146 @echo XT plus version "$(TARGET)_xtp.bin" built.153 @echo * 8k XT plus version "$(TARGET)_xtp.bin" built. 147 154 148 155 xtplus_large: 149 156 @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS_LARGE) -l"$(TARGET)_xtpl.lst" -o"$(TARGET)_xtpl.bin" 150 @echo LargeXT plus version "$(TARGET)_xtpl.bin" built.157 @echo *15k XT plus version "$(TARGET)_xtpl.bin" built. 151 158 152 159 xt: 153 160 @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT) -l"$(TARGET)_xt.lst" -o"$(TARGET)_xt.bin" 154 @echo XT version "$(TARGET)_xt.bin" built.161 @echo * 8k XT version "$(TARGET)_xt.bin" built. 155 162 156 163 xt_large: 157 164 @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT_LARGE) -l"$(TARGET)_xtl.lst" -o"$(TARGET)_xtl.bin" 158 @echo Large XT version "$(TARGET)_xtl.bin" built. 165 @echo *15k XT version "$(TARGET)_xtl.bin" built. 166 167 jride_8k: 168 @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_JRIDE_8K) -l"$(TARGET)_jr8k.lst" -o"$(TARGET)_jr8k.bin" 169 @echo * 8k JR-IDE/ISA version "$(TARGET)_jr8k.bin" built. 159 170 160 171 strings: src\StringsCompressed.asm … … 171 182 @perl ..\tools\checksum.pl $(TARGET)_xtp.bin $(ROMSIZE) 172 183 @perl ..\tools\checksum.pl $(TARGET)_xt.bin $(ROMSIZE) 184 @perl ..\tools\checksum.pl $(TARGET)_jr8k.bin $(ROMSIZE) 173 185 174 186 src\StringsCompressed.asm: src\Strings.asm
Note:
See TracChangeset
for help on using the changeset viewer.