home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM User 1995 January / CDuser6Jan95.iso / DYNASTY / WING / HALFTONE.MK_ / HALFTONE.MK
Text File  |  1994-06-24  |  724b  |  40 lines

  1. CC  = cl -c -W3 -AS -G3 -Gs -GA -Oxwt $(DEF)
  2. ASM = masm -Mx
  3. LINK= link /NOE/NOD/MAP/AL:16
  4. NAME= halftone
  5. DEF =-DDEBUG -DSTRICT
  6. RC  = rc
  7.  
  8. OBJDIR = .
  9. OBJ  = $(OBJDIR)\$(NAME).obj $(OBJDIR)\dib.obj $(OBJDIR)\httables.obj
  10.  
  11. LIBS = libw slibcew commdlg wing
  12.  
  13. .c{$(OBJDIR)}.obj:
  14.     $(CC) /Fo$*.obj $<
  15.  
  16. .asm{$(OBJDIR)}.obj:
  17.     $(ASM) $<,$*.obj;
  18.  
  19. goal: $(NAME).exe
  20.  
  21. $(NAME).exe: $(OBJ) $(NAME).res $(NAME).def $(NAME).mk
  22.     $(LINK) $(OBJ), $(NAME), $(NAME),$(LIBS), $(NAME).def
  23.     rc $(NAME).res
  24.     -cvpack -p $(NAME).exe
  25.     -mapsym $(NAME).map
  26.  
  27. $(NAME).res: $(NAME).rc $(NAME).ico
  28.     $(RC) -r $(NAME).rc
  29.  
  30. clean:
  31.     del $(NAME).exe
  32.     del *.res
  33.     del *.err
  34.     del *.obj
  35.     del *.map
  36.     del *.sym
  37.     del *.cod
  38.     del *.pdb
  39.  
  40.