# Makefile for  bits (V raster & font editor)
.SUFFIXES: .b .c

#include ../../buildprefix
SRCS = bits.c getcomp.c sample.c fontio.c transform.c gffonts.c rasterbbox.c
OBJS = bits.b getcomp.b sample.b fontio.b transform.b gffonts.b rasterbbox.b

C68FLAGS = -v${Xx}V -I../include -I../../libc/include/mi

LIBS = -lVgraphics

bits: $(OBJS)
	cc68 $(C68FLAGS) $(OBJS) -r -o bits $(LIBS) 

clean:
	rm -f *.BAK *.CKP bits .emacs* *.b

.c.b:
	cc68 $(C68FLAGS) -c $*.c

install: bits
	$(NETINSTALL) -p bits /usr/sun/$(Xx)Vboot
