summary refs log blame commit diff stats
path: root/makefile
blob: f58cf195bd4e1e23d3980b7b8b3696c67926ef6c (plain) (tree)























                                           
CC = cc
#CC = tcc
CFLAGS = -Wall -I/usr/local/include
CFLAGS += -std=c89
LDFLAGS = -L/usr/local/lib -lhyphen
LDFLAGS += -static
out = hyp
bindir = /home/kaa/bin

all: $(out)

.c:
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<

clean:
	rm -f $(out)

install: all
	cp hyp $(bindir)/hyp
	cp unhyp $(bindir)/unhyp

uninstall:
	rm -f $(bindir)/hyp
	rm -f $(bindir)/unhyp