home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 334_02 / makefile.trs < prev    next >
Makefile  |  1991-02-05  |  758b  |  40 lines

  1. #------------------------------------------------------------------
  2. # Makefile for gnut2p
  3. #   A translation program from Gnutex to GNUPLOT
  4. #   David Kotz
  5. #   Duke University
  6. #   dfk@cs.duke.edu
  7. #
  8. # derived from gnutex
  9. #
  10.  
  11. # Define this for production version
  12. CFLAGS=-O -s
  13. # For the debugging version
  14. #CFLAGS=-g
  15.  
  16. # Your favorite tags program
  17. TAGS=etags
  18. #TAGS=ctags
  19.  
  20. OBJS = plot.o scanner.o parse.o command.o eval.o \
  21.     standard.o internal.o util.o misc.o 
  22.  
  23. SRC = plot.h command.c eval.c internal.c misc.c \
  24.     parse.c plot.c scanner.c standard.c util.c
  25.  
  26. gnut2p: $(OBJS)
  27.     cc $(CFLAGS) $(OBJS) -o gnut2p -lm
  28.  
  29. $(OBJS): plot.h
  30.  
  31. TAGS: $(SRC)
  32.     $(TAGS) $(SRC)
  33.  
  34. clean:
  35.     rm -f *.o *~ core
  36.  
  37. spotless:
  38.     rm -f *.o *~ core gnut2p TAGS
  39.  
  40.