shithub: neatpost

ref: 957e74b6757ff6dac220d494c1bd4fbee8d0a01b
dir: /Makefile/

View raw version
# neatpost's default font directory
FDIR = /neatroff/font

CC = cc
CFLAGS = -Wall -O2 "-DTROFFFDIR=\"$(FDIR)\""
LDFLAGS =
OBJS = post.o out.o ps.o font.o dev.o clr.o dict.o iset.o

all: post
%.o: %.c post.h
	$(CC) -c $(CFLAGS) $<
post: $(OBJS)
	$(CC) -o $@ $(OBJS) $(LDFLAGS)
clean:
	rm -f *.o post