shithub: neatpost

ref: ef9ceb0ace1203b8167a418e55fa9654d119cd0d
dir: /Makefile/

View raw version
# neatpost's default font directory
FDIR=/root/troff/home/font

CC = cc
CFLAGS = -Wall -O2 "-DTROFFFDIR=\"$(FDIR)\""
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