shithub: neatpost

ref: f33908e77d5b637d3f33f244ab7f1fdc7f63f6bb
dir: /Makefile/

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

all: post
%.o: %.c post.h
	$(CC) -c $(CFLAGS) $<
post: post.o out.o ps.o font.o dev.o clr.o
	$(CC) -o $@ $^ $(LDFLAGS)
clean:
	rm -f *.o post