home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 35 / hot35.iso / ficheros / 9TOOL / CALEN32A.ZIP / EXAMPL32.MAK < prev    next >
Text File  |  1998-01-27  |  1KB  |  59 lines

  1. # Makefile for Calendar Example program (Windows 95 / NT version)
  2.  
  3. TARGETOS=BOTH
  4. APPVER=4.0
  5. !include <win32.mak>
  6.  
  7. ##### Module Macros ####
  8. NAME    = example
  9. SRCS    = $(NAME).c
  10. OBJS    = $(SRCS:.c=.obj)
  11.  
  12. ##### Library Macros #####
  13. LIBS    = $(guilibs) calend32.lib
  14.  
  15. ##### Resource Macro #####
  16. RCFILES = $(NAME).rc
  17.  
  18. ##### DEBUG Macro Defined #####
  19. DEBUG    = 1
  20.  
  21. ##### Tool Macros #####
  22. CC      = $(cc) $(cdebug) $(cflags) $(cvars)
  23. RC      = rc
  24.  
  25. ##### Inference Rules #####
  26. .c.obj:
  27.     $(CC) $*.c
  28.  
  29. .rc.res:
  30.     $(RC) -r $*.rc
  31.  
  32. ##### Main (default) Target #####
  33. goal: $(NAME).exe
  34.  
  35. ##### Dependents For Goal and Command Line #####
  36. $(NAME).exe: $(OBJS) $(NAME).def $(NAME).res
  37.     $(link) @<<$*.lnk
  38.     $(OBJS)
  39.     -out:$(NAME).exe
  40.     -map:$(NAME).map
  41.     $(guilflags) $(linkdebug)
  42.     $(LIBS)
  43.     $(NAME).res
  44. <<KEEP
  45.  
  46. ##### Dependents #####
  47. $(NAME).res: $(RCFILES)
  48.  
  49. clean:
  50.     -del *.obj
  51.     -del *.res
  52.     -del *.exe
  53.     -del *.map
  54.     -del *.sym
  55.     -del *.bak
  56.     -del *.pdb
  57.     -del *.exp
  58.     -del *.lnk
  59.