Changeset 389 in xtideuniversalbios for trunk


Ignore:
Timestamp:
Apr 12, 2012, 2:50:27 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Made makefile a little bit more readable.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/makefile

    r380 r389  
    33#                                                                                                #
    44# Valid makefile targets are:                                                                    #
    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)                                       #
    8 # clean     Removes all files from \Build                                                        #
    9 # checksum* Builds all and then generates checksum byte to all binary files                      #
    10 # strings*  Compress src\Strings.asm to src\StringsCompressed.asm                                #
     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)                                       #
     8# clean     Removes all files from \Build                                                        #
     9# checksum* Builds all and then generates checksum byte to all binary files                      #
     10# strings*  Compress src\Strings.asm to src\StringsCompressed.asm                                #
    1111#                                                                                                #
    1212# * at the end of target name means that Perl is required for the job.                           #
     
    8686# Assembler preprocessor defines.                               #
    8787#################################################################
    88 DEFINES = MODULE_BOOT_MENU MODULE_EBIOS MODULE_STRINGS_COMPRESSED
     88DEFINES_COMMON = MODULE_BOOT_MENU MODULE_EBIOS MODULE_STRINGS_COMPRESSED
     89
    8990DEFINES_XT = ELIMINATE_CGA_SNOW MODULE_SERIAL MODULE_SERIAL_FLOPPY
    9091DEFINES_XTPLUS = ELIMINATE_CGA_SNOW USE_186 MODULE_SERIAL MODULE_SERIAL_FLOPPY
    9192DEFINES_AT = USE_286 USE_AT MODULE_SERIAL MODULE_SERIAL_FLOPPY
     93
    9294DEFINES_XT_LARGE = $(DEFINES_XT) MODULE_JRIDE MODULE_ADVANCED_ATA
    9395DEFINES_XTPLUS_LARGE = $(DEFINES_XTPLUS) MODULE_JRIDE MODULE_ADVANCED_ATA
    9496DEFINES_AT_LARGE = $(DEFINES_AT) MODULE_JRIDE MODULE_ADVANCED_ATA
     97
    9598DEFINES_JRIDE_8K = ELIMINATE_CGA_SNOW MODULE_JRIDE
    9699DEFINES_386_8K = USE_386 USE_AT MODULE_ADVANCED_ATA
     
    106109
    107110# Add -D in front of every preprocessor define declaration
    108 DEFS = $(DEFINES:%=-D%)
     111DEFS = $(DEFINES_COMMON:%=-D%)
    109112DEFS_XT = $(DEFINES_XT:%=-D%) -DROMSIZE=$(ROMSIZE)
    110113DEFS_XTPLUS = $(DEFINES_XTPLUS:%=-D%) -DROMSIZE=$(ROMSIZE)
Note: See TracChangeset for help on using the changeset viewer.