CC = cc #CC = tcc CFLAGS = -Wall -I/usr/local/include CFLAGS += -std=c89 LDFLAGS = -L/usr/local/lib -lhyphen LDFLAGS += -static bindir = /home/kaa/bin all: hyp hyp: $(CC) $(CFLAGS) $(LDFLAGS) -o $@ en.c hyp.c hyp-es: $(CC) $(CFLAGS) $(LDFLAGS) -o $@ es.c hyp.c clean: rm -f hyp hyp-es install: all cp hyp $(bindir)/hyp cp unhyp $(bindir)/unhyp uninstall: rm -f $(bindir)/hyp rm -f $(bindir)/unhyp