../include/curl/curlbuild.h.dist is not present in release archives so

the makefile cannot depend on it
This commit is contained in:
Daniel Stenberg 2009-06-08 13:53:23 +00:00
parent cfda5df020
commit 6f3e817372
1 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,10 @@ OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
CURL_LIB = libcurl.a
all: $(OBJ_DIR) ../include/curl/curlbuild.h config.h $(CURL_LIB)
# NOTE: if ../include/curl/curlbuild.h is missing, you're probably building this
# from a CVS checkout and then you need to run buildconf.bat first!
all: $(OBJ_DIR) config.h $(CURL_LIB)
$(CURL_LIB): $(OBJECTS)
ar rs $@ $?
@ -24,9 +27,6 @@ $(CURL_LIB): $(OBJECTS)
config.h: config.dos
cp $^ $@
../include/curl/curlbuild.h: ../include/curl/curlbuild.h.dist
cp $^ $@
clean:
- rm -f $(OBJECTS)