home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / PROGRAM / DJGOS106.ZIP / GO32 / MAKEFILE < prev    next >
Text File  |  1992-04-13  |  2KB  |  107 lines

  1. # History:25,17
  2.  
  3. AFLAGS = /mx
  4. CFLAGS = -ms -M
  5.  
  6. .c.obj:
  7.     tcc $(CFLAGS) -DDEBUGGER=1 -DTOPLINEINFO=1 -DSOURCE_LIST -c $*
  8.     mv $*.obj d$*.obj
  9.     tcc $(CFLAGS) -DDEBUGGER=0 -DTOPLINEINFO=0 -c $*
  10.  
  11. .asm.obj:
  12.     tasm $(AFLAGS) /DDEBUGGER=1 /DTOPLINEINFO=1 $*;
  13.     mv $*.obj d$*.obj
  14.     tasm $(AFLAGS) /DDEBUGGER=0 /DTOPLINEINFO=0 $*;
  15.  
  16. OBJS =\
  17.     control.obj\
  18.     dalloc.obj\
  19.     debug.obj\
  20.     doutils.obj\
  21.     event.obj\
  22.     evintr.obj\
  23.     exphdlr.obj\
  24.     graphics.obj\
  25.     grprot.obj\
  26.     mono.obj\
  27.     mswitch.obj\
  28.     npx.obj\
  29.     paging.obj\
  30.     syms.obj\
  31.     tables.obj\
  32.     unassmbl.obj\
  33.     utils.obj\
  34.     valloc.obj\
  35.     vga.obj\
  36.     wild.obj\
  37.     xms.obj\
  38.     vcpi.obj
  39.  
  40. all : go32t.exe stub.exe aout2exe.exe exe2aout.exe
  41.  
  42. stub.exe: stub.c
  43.     tcc stub.c
  44.     tdstrip stub
  45.  
  46. # Note: some tlinks require /3 here, some barf if you supply it.
  47. go32t.exe : $(OBJS) go32.lnk
  48.     tlink /c /v /s /m @go32.lnk
  49.     tlink /c /v /s /m @debug32.lnk
  50.  
  51. bin2byte.exe : bin2byte.c
  52.     tcc bin2byte.c
  53.     -tdstrip bin2byte
  54.  
  55. stubbyte.h : bin2byte.exe stub.exe
  56.     bin2byte stub.exe stub_bytes stubbyte.h
  57.  
  58. aout2exe.exe : aout2exe.c stubbyte.h
  59.     tcc aout2exe
  60.     -tdstrip aout2exe
  61.  
  62. exe2aout.exe : exe2aout.c
  63.     tcc exe2aout
  64.     -tdstrip exe2aout
  65.  
  66. # DEPENDENCIES
  67.  
  68. debug.obj : build.h types.h gdt.h tss.h utils.h unassmbl.h syms.h paging.h npx.h mono.h
  69.  
  70. exphdlr.obj : build.h types.h gdt.h idt.h tss.h utils.h paging.h npx.h mono.h vcpi.h
  71.  
  72. control.obj : build.h types.h gdt.h idt.h tss.h valloc.h utils.h syms.h graphics.h mono.h vcpi.h
  73.  
  74. graphics.obj : build.h types.h paging.h graphics.h tss.h gdt.h
  75.  
  76. paging.obj : build.h types.h paging.h graphics.h tss.h gdt.h valloc.h dalloc.h utils.h aout.h mono.h vcpi.h
  77.  
  78. syms.obj : build.h types.h syms.h tss.h stab.h stab.def aout.h utils.h
  79.  
  80. unassmbl.obj : build.h types.h gdt.h idt.h tss.h utils.h unassmbl.h syms.h mono.h
  81.  
  82. utils.obj : build.h types.h tss.h gdt.h utils.h npx.h
  83.  
  84. valloc.obj : build.h types.h valloc.h xms.h mono.h vcpi.h
  85.  
  86. xms.obj : xms.h
  87.  
  88. dalloc.obj : build.h types.h valloc.h dalloc.h mono.h
  89.  
  90. mono.obj : mono.h
  91.  
  92. doutils.obj : build.inc segdefs.inc tss.inc gdt.inc idt.inc
  93.  
  94. mswitch.obj : build.inc segdefs.inc tss.inc gdt.inc idt.inc vcpi.inc
  95.  
  96. tables.obj : build.inc segdefs.inc tss.inc gdt.inc idt.inc
  97.  
  98. vga.obj : segdefs.inc
  99.  
  100. grprot.obj : build.inc segdefs.inc tss.inc gdt.inc idt.inc
  101.  
  102. npx.obj : build.inc segdefs.inc tss.inc gdt.inc idt.inc
  103.  
  104. vcpi.obj: build.inc segdefs.inc vcpi.inc
  105.  
  106. event.obj: eventque.h
  107.