home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / n / nuweb / Source / src / Makefile < prev    next >
Encoding:
Makefile  |  1997-02-25  |  547 b   |  43 lines

  1. # Makefile for nuweb
  2.  
  3.  
  4. # User settings
  5.  
  6. CC = gcc
  7.  
  8. CFLAGS = -O
  9.  
  10.  
  11. # Program files, name and version
  12.  
  13. TARGET = nuweb
  14. VERSION = 0.90
  15.  
  16. OBJS =  main.o pass1.o latex.o html.o program.o input.o scraps.o names.o \
  17.     global.o arena.o
  18.  
  19.  
  20. # Compilation rules
  21.  
  22. .SUFFIXES: .dvi .tex
  23. .tex.dvi:
  24.     latex $*.tex
  25.  
  26.  
  27. # Targets and dependencies
  28.  
  29. all: $(TARGET) docs
  30.  
  31. docs: $(TARGET).dvi $(TARGET)doc.dvi upgrade.dvi
  32.  
  33. $(OBJS): global.h
  34. $(TARGET): $(OBJS)
  35.     $(CC) -o $(TARGET) $(OBJS)
  36.  
  37. dummy: nuweb.w
  38.     rm dummy
  39.     nuweb -C nuweb.w
  40. .INIT: dummy
  41.  
  42. $(TARGET)doc.dvi: $(TARGET).tex
  43.