Ignore:
Timestamp:
Aug 20, 2001, 8:47:54 PM (24 years ago)
Author:
bird
Message:

Documented it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mini/src/win32k/test/mini.mak

    r6546 r6568  
    1 # $Id: mini.mak,v 1.1.2.7 2001-08-16 15:14:41 bird Exp $
     1# $Id: mini.mak,v 1.1.2.8 2001-08-20 18:47:54 bird Exp $
    22
    33#
     
    6868
    6969
     70!ifdef NORMAL
    7071#
    71 # Main rule
     72# Main rule for the high octane category.
    7273#
    73 !ifdef NORMAL
    7474!if 1
    7575$(OBJDIR)\$(TARGET).exe: $(OBJS)  $(DEFFILE) $(OBJDIR)\$(TARGET).lrf
    76 !ifdef WATCOM
     76!ifdef WATCOM # 274 bytes
    7777    wlink system os2v2 file {$(OBJS)} name $(OBJDIR)\.exe \
    7878    import vprintf LIBCN.150 \
    7979#    import DosPutMessage MSG.5   \
    8080        option offset=0x0000 option alignment=1 option stack=4060
     81# skip this step if it aint allowed, but then LXLITE has to get $(OBJDIR)\.exe as input. :-)
    8182    mv $(OBJDIR)\.exe $@
    8283!else
     
    8586        $(OBJS), $(OBJDIR)\$(TARGET).exe, $(OBJDIR)\$(TARGET).map, os2386.lib, mini.def;
    8687!else
    87 !ifndef VAC36
     88!ifndef VAC36 # 273 bytes
    8889    -12 ilink /NOFREE /FORCE /ALIGNMENT:1 /Map /BASE:0x10000 /PACKCODE /PACKDATA /NOEXEPACK \
    8990        $(OBJS), $(OBJDIR)\$(TARGET).exe, $(OBJDIR)\$(TARGET).map, os2386.lib, mini.def;
     
    107108!else
    108109
    109 $(OBJDIR)\$(TARGET).exe: $(OBJS)  $(DEFFILE) $(OBJDIR)\$(TARGET).lrf
     110#
     111# Builds the custom 196 bytes mini.exe.
     112#
     113$(OBJDIR)\$(TARGET).exe: $(OBJS)  $(DEFFILE) myexe2bin.exe
    110114    link $(OBJS), $(OBJDIR)\$(TARGET)ne.exe, $(OBJDIR)\$(TARGET).map;
    111115    myexe2bin $(OBJDIR)\$(TARGET)ne.exe $@ 512
    112116
    113 #    exe2bin $(OBJDIR)\$(TARGET)ne.exe $@
    114 
     117# help tool, custom exe2bin.
     118myexe2bin.exe myexe2bin: myexe2bin.c
     119!ifndef WATCOM
     120    icc myexe2bin.c
     121!else
     122    wcl386 myexe2bin.c
     123!endif
    115124!endif
    116125
Note: See TracChangeset for help on using the changeset viewer.