clr: color support with m command
[neatpost.git] / Makefile
blob252125493be50d439a787b211b20b0d138cdde4b
1 CC = cc
2 CFLAGS = -Wall -O2 -DTROFFROOT=\"/root/troff/home\"
3 LDFLAGS =
5 all: post
6 %.o: %.c post.h
7 $(CC) -c $(CFLAGS) $<
8 post: post.o out.o ps.o font.o dev.o clr.o
9 $(CC) -o $@ $^ $(LDFLAGS)
10 clean:
11 rm -f *.o post