shithub: neatroff

ref: 5a353cb70b578a6dfb39d93a73df43fe194aaa02
dir: /Makefile/

View raw version
CC = cc
CFLAGS = -Wall -O2
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
	$(CC) -o $@ $^ $(LDFLAGS)
clean:
	rm -f *.o xroff