shithub: neatpost

ref: 88348db635583148977a1cd2122d0e9377c64efd
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

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