--- a/src/server/webdav/Makefile Thu Feb 16 15:08:38 2012 +0100 +++ b/src/server/webdav/Makefile Wed Feb 22 23:20:39 2012 +0100 @@ -26,19 +26,11 @@ # POSSIBILITY OF SUCH DAMAGE. # -BUILD_ROOT = ../../../ -OBJ_DIR = $(BUILD_ROOT)build/ - -CFLAGS = -I/usr/include/mps -g -LDFLAGS = - -include objs.mk +DAV_CFLAGS = -I/usr/include/mps -g -all: $(DAVOBJS) +$(DAV_OBJPRE)%.o: webdav/%.c + cc -o $@ -c $(DAV_CFLAGS) $(CFLAGS) $< -$(DAV_OBJPRE)%.o: %.c - cc -o $@ -c $(CFLAGS) $< - -$(DAV_OBJPRE)%.o: %.cpp - CC -o $@ -c $(CFLAGS) $< +$(DAV_OBJPRE)%.o: webdav/%.cpp + CC -o $@ -c $(DAV_CFLAGS) $(CFLAGS) $<