home *** CD-ROM | disk | FTP | other *** search
Makefile | 1997-02-25 | 547 b | 43 lines |
- # Makefile for nuweb
-
-
- # User settings
-
- CC = gcc
-
- CFLAGS = -O
-
-
- # Program files, name and version
-
- TARGET = nuweb
- VERSION = 0.90
-
- OBJS = main.o pass1.o latex.o html.o program.o input.o scraps.o names.o \
- global.o arena.o
-
-
- # Compilation rules
-
- .SUFFIXES: .dvi .tex
- .tex.dvi:
- latex $*.tex
-
-
- # Targets and dependencies
-
- all: $(TARGET) docs
-
- docs: $(TARGET).dvi $(TARGET)doc.dvi upgrade.dvi
-
- $(OBJS): global.h
- $(TARGET): $(OBJS)
- $(CC) -o $(TARGET) $(OBJS)
-
- dummy: nuweb.w
- rm dummy
- nuweb -C nuweb.w
- .INIT: dummy
-
- $(TARGET)doc.dvi: $(TARGET).tex
-