# Makefile for  bits

#ifdef X
C68FLAGS = -V -vx
#else X
C68FLAGS =  -V
#endif X
LIBS = -lgraphics -lsfonts

bits: bits.c
	cc68 $(C68FLAGS) -r -o bits bits.c $(LIBS) 

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

install: bits
#ifdef X
	netinstall -x -p bits /usr/sun/xVboot
#else X
	netinstall bits -p /usr/sun/Vboot
#endif X

backup:
	cd ..; cpdir bits ../../Vbackup/cmds/bits

build:
	buildmake.sh

xbuild:
	buildmake.sh -DX=1
