Changeset 145 in xtideuniversalbios for trunk/Configurator/makefile


Ignore:
Timestamp:
Mar 15, 2011, 11:28:17 AM (14 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/Configurator/makefile

    r81 r145  
    5959IHEADERS += -I.
    6060
    61 # Path + target file to be build
     61# Path + target file to be built
    6262TARGET = $(BUILD_DIR)\$(PROG).com
    6363
     
    9393############################################
    9494
    95 .PHONY: all clean build
     95.PHONY: all clean build release
    9696
    9797# Make clean debug and release versions
     
    9999    @$(MAKE) clean
    100100    @$(MAKE) build
    101     @echo All build!
     101    @echo All done!
    102102
    103103# Clean
     
    109109build:
    110110    @$(AS) "$(SRC_ASM)" $(ASFLAGS) -l"$(BUILD_DIR)\$(PROG).lst" -o"$(TARGET)"
    111     @echo "$(TARGET)" build.
     111    @echo "$(TARGET)" built.
     112
     113release: build
     114    @echo Compressing with UPX...
     115    @upx -qq --8086 --ultra-brute $(TARGET)
     116    @echo Done! $(TARGET) is ready for release.
Note: See TracChangeset for help on using the changeset viewer.