Changeset 145 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/makefile


Ignore:
Timestamp:
Mar 15, 2011, 11:28:17 AM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Minor size optimizations to all parts of the project (even the old Configurator).
Also added a new 'release' option to the makefiles of both versions of the Configurator. It invokes UPX and makes the Configurator programs ridiculously tiny.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/makefile

    r82 r145  
    5858# Assembler preprocessor defines.                               #
    5959#################################################################
    60 DEFINES = 
     60DEFINES =
    6161DEFINES_XT = ELIMINATE_CGA_SNOW
    6262DEFINES_XTPLUS = USE_186 ELIMINATE_CGA_SNOW
     
    7777IHEADERS = $(HEADERS:%=-I%)
    7878
    79 # Path + target file to be build
     79# Path + target file to be built
    8080TARGET = $(BUILD_DIR)/$(PROG)
    8181
     
    111111############################################
    112112
    113 .PHONY: all at xtplus xt clean
     113.PHONY: all at xtplus xt clean release
    114114
    115115# Make clean debug and release versions
    116116all: clean xt
    117     @echo All build!
     117    @echo All done!
    118118
    119119at:
    120120    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT) -l"$(TARGET)_at.lst" -o"$(TARGET)_at.$(EXTENSION)"
    121     @echo AT version "$(TARGET)_at.$(EXTENSION)" build.
     121    @echo AT version "$(TARGET)_at.$(EXTENSION)" built.
    122122
    123123xtplus:
    124124    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS) -l"$(TARGET)_xtp.lst" -o"$(TARGET)_xtp.$(EXTENSION)"
    125     @echo XT plus version "$(TARGET)_xtp.$(EXTENSION)" build.
     125    @echo XT plus version "$(TARGET)_xtp.$(EXTENSION)" built.
    126126
    127127xt:
    128128    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT) -l"$(TARGET)_xt.lst" -o"$(TARGET).$(EXTENSION)"
    129     @echo XT version "$(TARGET).$(EXTENSION)" build.
     129    @echo XT version "$(TARGET).$(EXTENSION)" built.
    130130
    131131clean:
    132132    @$(RM) $(BUILD_DIR)\*.*
    133133    @echo Deleted "(*.*)" from "$(BUILD_DIR)/"
     134
     135release: xt
     136    @echo Compressing with UPX...
     137    @upx -qq --8086 --ultra-brute $(TARGET).$(EXTENSION)
     138    @echo Done! XT version is ready for release.
Note: See TracChangeset for help on using the changeset viewer.