# Samba Test # # Douglas Thrift # # $Id$ ifeq ($(shell uname -r | grep -v ^4\\.),) CXX := g++34 endif CPPFLAGS := -I/usr/local/include -MD LDFLAGS := -L/usr/local/lib LDLIBS := -lsmbclient all: SambaTest SambaTest: SambaTest.cpp $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $< $(LOADLIBES) $(LDLIBS) -include *.d .PHONY: clean clean: -rm SambaTest *.core *.d