home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / celltk7b.zip / cell07b.zip / samples / makefile < prev    next >
Makefile  |  2000-10-25  |  888b  |  47 lines

  1. #
  2. # Cell Library samples makefile
  3. #
  4.  
  5. #--------------------
  6.  
  7. CC=icc
  8. CFLAGS=-O+ -Ss+ -Gs+ -G5 -I..\libcell
  9. LDFLAGS= $(CFLAGS) -B/ST:327680 -B/NOE -B/PMTYPE:PM
  10. RC=rc -i .
  11.  
  12. #--------------------
  13.  
  14. LIBOBJ=cell.obj
  15.  
  16. #--------------------
  17.  
  18. .SUFFIXES:
  19. .SUFFIXES: .obj .cpp .rc
  20.  
  21. .cpp.obj:
  22.     $(CC) $(CFLAGS) -c $<
  23.  
  24. .rc.res:
  25.     $(RC) -r $<
  26.  
  27. .obj.exe:
  28.     $(CC) $(LDFLAGS) $< cell.obj
  29.     $(RC) $*.res $*.exe
  30.  
  31. #--------------------
  32. # Samples to build
  33.  
  34. all: entry.exe multibar.exe nbsample.exe simple.exe status.exe
  35.  
  36. clean:
  37.     @del *.obj *.exe *.res
  38.  
  39. entry.exe   : $(LIBOBJ) entry.obj    entry.res
  40. multibar.exe: $(LIBOBJ) multibar.obj multibar.res
  41. nbsample.exe: $(LIBOBJ) nbsample.obj nbsample.res
  42. simple.exe  : $(LIBOBJ) simple.obj   simple.res
  43. status.exe  : $(LIBOBJ) status.obj   status.res
  44. cell.obj    : ..\libcell\cell.cpp
  45.     $(CC) $(CFLAGS) -c $?
  46.  
  47.