CC = cc CFLAGS = -O all: swortcp ttb texbib texswlist swortcp: $(CC) $(CFLAGS) -o swortcp swortcp.c ttb: $(CC) $(CFLAGS) -o ttb ttb.c texbib: sed -e 's|AAAAA|$(DESTDIR)|' \ -e 's|BBBBB|$(TEXBIN)|' \ -e 's|CCCCC|$(TIBDIR)/inputs|' \ texbib.sh > texbib texswlist: sed -e 's|AAAAA|$(TIBDIR)|' \ -e 's|BBBBB|$(DESTDIR)|' \ -e 's|CCCCC|$(TIBDIR)/inputs|' \ -e 's|DDDDD|$(TEXBIN)|' \ texswlist.sh > texswlist clean: rm -f swortcp ttb texbib texswlist