shithub: neatroff

ref: 8b5a245c4fef714fbf538223d6b9ee415b6a2c79
dir: /Makefile/

View raw version
CC = cc
CFLAGS = -Wall -O2 -DTROFFROOT=\"/root/troff/home\"
LDFLAGS =

all: xroff
%.o: %.c xroff.h
	$(CC) -c $(CFLAGS) $<
xroff: xroff.o dev.o font.o in.o cp.o tr.o ren.o out.o reg.o sbuf.o adj.o eval.o line.o
	$(CC) -o $@ $^ $(LDFLAGS)
clean:
	rm -f *.o xroff