shithub: neatpost

ref: 67e53d04a2ace065c1c00bd28f1123d8e11a5bd1
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