SWITCHES= -c -w -mc -Z -O -G -f-

nufind.exe:	nufind.obj rootpath.obj copy.obj getcurd.obj select.obj match.obj getargs.obj queue.obj
		tcc -mc nufind.obj rootpath.obj copy.obj getcurd.obj select.obj match.obj getargs.obj queue.obj

nufind.obj:	nufind.c queue.h nufind.h makefile
		tcc $(SWITCHES) nufind

rootpath.obj:	rootpath.c makefile
		tcc $(SWITCHES) rootpath

copy.obj:	copy.c makefile
		tcc $(SWITCHES) copy

getcurd.obj:	getcurd.c makefile
		tcc $(SWITCHES) getcurd

select.obj:	select.c makefile
		tcc $(SWITCHES) select

match.obj:	match.c makefile
		tcc $(SWITCHES) match

getargs.obj:	getargs.c makefile
		tcc $(SWITCHES) getargs

queue.obj:	queue.c queue.h makefile
		tcc $(SWITCHES) queue
