CC = gcc
CFLAGS = -O6
LDFLAGS = -s -N

OBJS	= smc_conf.o wdsetup.o

all:	wdsetup
wdsetup: $(OBJS)

subdirs: dummy
	for i in $(SUBDIRS); do (cd $$i; $(MAKE)); done


clean:
	rm -f core *.o *.a *.s
clobber: clean
	rm -f wdsetup

dep:
	$(CPP) -M *.c > .depend

tar:
	tar -cvf /dev/f1 .

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif
