shithub: neatroff

ref: 7a5b33eb77e544f5a6c814c40c9a8ae2787b5c96
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 draw.o wb.o
	$(CC) -o $@ $^ $(LDFLAGS)
clean:
	rm -f *.o xroff