summaryrefslogtreecommitdiff
path: root/GNUmakefile.mingw
diff options
context:
space:
mode:
authorBryan Ischo <bryan@ischo.com>2008-08-12 13:04:10 +0000
committerBryan Ischo <bryan@ischo.com>2008-08-12 13:04:10 +0000
commit06fcf9839f35d1bbac18819886375b8232d73f35 (patch)
treeb336da3212c8846f7dddaf6297ea153f124ecbd4 /GNUmakefile.mingw
parent953d590bd9a3508d37552efb89aaa68344466d80 (diff)
downloadceph-libs3-06fcf9839f35d1bbac18819886375b8232d73f35.tar.gz
* Implement required pthreads functions for Windows
Diffstat (limited to 'GNUmakefile.mingw')
-rw-r--r--GNUmakefile.mingw12
1 files changed, 10 insertions, 2 deletions
diff --git a/GNUmakefile.mingw b/GNUmakefile.mingw
index 3d5c332..4fc922e 100644
--- a/GNUmakefile.mingw
+++ b/GNUmakefile.mingw
@@ -103,7 +103,14 @@ CFLAGS += -Wall -Werror -std=c99 -Iinc $(CURL_CFLAGS) $(LIBXML2_CFLAGS) \
# --------------------------------------------------------------------------
-# Default targets are the library and driver program
+# Default targets are everything
+
+.PHONY: all
+all: exported test
+
+
+# --------------------------------------------------------------------------
+# Exported targets are the library and driver program
.PHONY: exported
exported: libs3 s3 headers
@@ -186,7 +193,8 @@ $(BUILD)\include\libs3.h: inc\libs3.h
.PHONY: test
test: $(BUILD)/bin/testsimplexml
-$(BUILD)/bin/testsimplexml: $(BUILD)/obj/testsimplexml.o $(BUILD)/lib/libs3.a
+$(BUILD)/bin/testsimplexml: $(BUILD)/obj/testsimplexml.o \
+ $(BUILD)/obj/simplexml.o
-@mkdir $(subst /,\,$(dir $@))
gcc -o $@ $^ $(LIBXML2_LIBS)