home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / cforms / part01 / example / Makefile next >
Encoding:
Makefile  |  1992-05-18  |  589 b   |  42 lines

  1. #
  2. #        M A K E F I L E
  3. #        ---------------
  4. #
  5. # Description:
  6. #    Compiles and links CForms example
  7. #
  8. # $Log:    Makefile,v $
  9. # Revision 1.2  92/01/19  13:21:05  lasse
  10. # better clean
  11. # Revision 1.1  92/01/19  12:48:47  lasse
  12. # Initial revision
  13. #
  14.  
  15. # Installation places.
  16. #
  17.  
  18. COMP  = ../bin/cfc
  19. OS    = SYSV
  20.  
  21. INCLUDE  = ../src
  22. LIBDIR   = ../lib
  23. LIBS     =  -lcforms -lcurses
  24. OFILES   = cforms.o
  25.  
  26. CFLAGS = -g -DSYS_$(OS) -I$(INCLUDE)
  27.  
  28. cforms : $(OFILES)
  29.     $(CC) -o cforms $(OFILES) -L$(LIBDIR) $(LIBS)
  30.  
  31. install:
  32.  
  33. clean:
  34.     rm -f cforms.o cforms cforms.c
  35.     
  36. cforms.c : test.frm
  37.     $(COMP) test.frm
  38.