shithub: neatpost

ref: 890599cc49cc9cfd2a3f38367c321b05349d4276
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
	$(CC) -o $@ $^ $(LDFLAGS)
clean:
	rm -f *.o post