out: support internal links
[neatpost.git] / Makefile
blob00d716a0c781446a8029db4ef265ae73e95fd91a
1 # neatpost's default font directory
2 FDIR = /neatroff/font
4 CC = cc
5 CFLAGS = -Wall -O2 "-DTROFFFDIR=\"$(FDIR)\""
6 LDFLAGS =
7 OBJS = post.o out.o ps.o font.o dev.o clr.o dict.o iset.o
9 all: post
10 %.o: %.c post.h
11 $(CC) -c $(CFLAGS) $<
12 post: $(OBJS)
13 $(CC) -o $@ $(OBJS) $(LDFLAGS)
14 clean:
15 rm -f *.o post