#
# Makefile for the linux smb-filesystem utilities.
#

UTILS = $(BINDIR)/smbmount $(BINDIR)/smbumount

CFLAGS = -Wall $(INCLUDES) $(DEB_CFLAGS)
CC = gcc

all: $(UTILS)

$(BINDIR)/smbmount: smbmount.o
	$(CC) -o $(BINDIR)/smbmount smbmount.o

$(BINDIR)/smbumount: smbumount.o
	$(CC) -o $(BINDIR)/smbumount smbumount.o

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

clean:
	rm -f *.o *~

realclean: clean
	rm -f $(UTILS) .depend $(DISTFILE)

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