
#include ../../buildprefix

#ifdef X
C68FLAGS = -O -V -vx
#else X
C68FLAGS = -O -V
#endif X
LIBS = -lVexcept

testexcept :  testexcept.c 
	cc68 $(C68FLAGS) -o testexcept.68 testexcept.c $(LIBS) 
	nm68 -nh testexcept.68 > symbols
	rev68 testexcept.68 testexcept
	rm -f testexcept.68

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

clean:
	rm -f *.CKP *.BAK *.b .emacs* testexcept symbols

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


