ref: 960e6d479e32d6912de9cadf5687e1b90b75193d
parent: 0bff8a4022bcdce97f8ee95caf989cd41a25acc9
author: Ali Gholami Rudi <ali@rudi.ir>
date: Sat Oct 4 18:46:06 EDT 2014
Makefile: compatibility with openbsd Suggested by Carsten Kunze <carsten.kunze@arcor.de>.
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,12 @@
CFLAGS = -O2 -Wall
LDFLAGS =
+OBJS = mkfn.o trfn.o sbuf.o tab.o afm.o otf.o
+
all: mkfn
%.o: %.c
$(CC) -c $(CFLAGS) $<
-mkfn: mkfn.o trfn.o sbuf.o tab.o afm.o otf.o
- $(CC) -o $@ $^ $(LDFLAGS)
+mkfn: $(OBJS)
+ $(CC) -o $@ $(OBJS) $(LDFLAGS)
clean:
rm -f *.o mkfn