home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pwr16.zip / MAKEFILE next >
Text File  |  1994-11-07  |  905b  |  25 lines

  1. #!INCLUDE "PATHS.INC"
  2. #!if [set PATH=F:\C600\BINP;F:\C600\BINP;f:\toolkt13\bin;%path%] ||\
  3. #    [set dpath=F:\C600\LIB;f:\toolktmm;%dpath%                    ] ||\
  4. #    [set lib=..\LIB;F:\C600\LIB;F:\TOOLKTMM\LIB;F:\TOOLKT21\OS2LIB;%lib%; ] ||\
  5. #    [set include=..\INCL;F:\C600\INCLUDE;f:\toolktmm\H;f:\toolktmm\INC;f:\source13\incl;F:\TOOLKT13\C\INCLUDE;$(GLOBAL_INCL);%incl%]
  6. #!endif
  7.  
  8. #debugc=-Zedip
  9. #debugl=/CO
  10.  
  11. ALL: test.EXE
  12.  
  13. test.res : test.rc test.rch
  14.      rc -r test.rc
  15.  
  16. test.obj : test.c power.obj test.rch power.h
  17.      cl -B1 c1l.exe -c -G2s  /nologo $(DEFINES) $(debugc) -ALu -W3 -Od  test.c
  18.  
  19. power.obj : power.c
  20.      cl -B1 c1l.exe -c -G2s  /nologo $(DEFINES) $(debugc) -ALu -W3 -Od  power.c
  21.  
  22. test.EXE : test.def test.obj test.res
  23.      link /NOL /NOE $(debugl) test.obj power.obj /align:16, test.EXE, NUL /NOD, os2.lib + llibcmt.lib, test.DEF
  24.      rc test.res test.exe
  25.