summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Williams <gww@silcom.com>2002-12-22 04:39:16 +0000
committerGeorge Williams <gww@silcom.com>2002-12-22 04:39:16 +0000
commitdef46e9cb8ffebf672296094794318fdb31130c6 (patch)
treeee5131b45eb358d0bf3d105264fd832946493855
parentda35c171a1d649d33871708c75d645e5fe2dcfc4 (diff)
Renamed from Makefile.
-rw-r--r--Makefile.unix40
1 files changed, 40 insertions, 0 deletions
diff --git a/Makefile.unix b/Makefile.unix
new file mode 100644
index 0000000..394e5b1
--- /dev/null
+++ b/Makefile.unix
@@ -0,0 +1,40 @@
+CC = gcc
+WFLAGS = -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -pedantic
+CFLAGS = -g $(WFLAGS)
+FONDUOBJS = fondu.o readnfnt.o
+UFONDOBJS = ufond.o ufondbdf.o ufondpfb.o ufondttf.o crctab.o
+DFONT2RESOBJS = dfont2res.o crctab.o
+SHOWOBJS = showfond.o
+TOBINOBJS = tomacbinary.o crctab.o
+FROMBINOBJS = frommacbinary.o
+
+bindir = /usr/local/bin
+
+all: fondu ufond showfond dfont2res tobin frombin
+
+fondu: $(FONDUOBJS)
+ $(CC) $(CFLAGS) -o fondu $(FONDUOBJS)
+
+ufond: $(UFONDOBJS)
+ $(CC) $(CFLAGS) -o ufond $(UFONDOBJS)
+
+showfond: $(SHOWOBJS)
+ $(CC) $(CFLAGS) -o showfond $(SHOWOBJS)
+
+dfont2res: $(DFONT2RESOBJS)
+ $(CC) $(CFLAGS) -o dfont2res $(DFONT2RESOBJS)
+
+tobin: $(TOBINOBJS)
+ $(CC) $(CFLAGS) -o tobin $(TOBINOBJS)
+
+frombin: $(FROMBINOBJS)
+ $(CC) $(CFLAGS) -o frombin $(FROMBINOBJS)
+
+clean:
+ -rm -f *.o fondu ufond showfond dfont2res tobin frombin
+
+distclean: clean
+ -rm Makefile
+
+install: all
+ cp fondu ufond showfond dfont2res tobin frombin $(bindir)