home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / graphics.zip / MAKEFILE < prev   
Text File  |  1993-10-04  |  689b  |  33 lines

  1. # Make File Creation for graphics test programs
  2. # Operating system OS/2 2.1
  3.  
  4. .SUFFIXES: .c .rc
  5.  
  6. OBJS  = gtest1.obj gtest2.obj
  7. LIBS  = graphics
  8. LNK   = /CO /NOL /ALIGN:4
  9. .c.obj:
  10.       ICC.EXE /Ti /Sa /Q /Gm+ /Ge+ /C $*.c
  11.  
  12. .rc.res:
  13.       rc -r $*.rc
  14.  
  15. all: gtest1.exe gtest2.exe
  16.  
  17. #dependicies
  18. gtest1.exe: gtest1.obj makefile gtest1.def
  19.     LINK386.EXE $(LNK) gtest1.obj,gtest1,,$(LIBS), gtest1.def
  20.  
  21. #dependicies
  22. gtest2.exe: gtest2.obj gtest2.res makefile gtest2.def
  23.     LINK386.EXE $(LNK) gtest2.obj,gtest2,,$(LIBS), gtest2.def
  24.     rc gtest2
  25.  
  26. clean:
  27.     del *.obj *.exe *.map
  28.  
  29. gtest1.obj:   gtest1.c
  30. gtest2.obj:   gtest2.c gtest2.h
  31. gtest2.res:   gtest2.rc gtest2.dlg gtest2.h
  32.  
  33.