# Makefile for qkc

CC    ?= cc
BIND   = $(CC)
CFLAGS?= -O
LFLAGS = -o qkc $(CFLAGS)
OBJ    = qkc.o qkcopt.o qkchelp.o qkcconv.o qkctbl.o

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

qkc: $(OBJ)
	$(BIND) $(LFLAGS) $(OBJ)

$(OBJ): qkc.h

clean:
	rm -f *.o qkc


syntax highlighted by Code2HTML, v. 0.9.1