1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

Added rule to create curlbuild.h if not present (for builds from git).

This commit is contained in:
Guenter Knauf 2010-08-01 02:39:03 +02:00
parent 425060fed1
commit a93522f68d

View File

@ -95,9 +95,10 @@ OBJS_STAT = $+ $(OBJS) $-
OBJ_DIR = $(OBJ_BASE)\dyn OBJ_DIR = $(OBJ_BASE)\dyn
OBJS_DYN = $+ $(OBJS) $- OBJS_DYN = $+ $(OBJS) $-
CURLBUILDH = ..\include\curl\curlbuild.h
RESOURCE = $(OBJ_BASE)\dyn\libcurl.res RESOURCE = $(OBJ_BASE)\dyn\libcurl.res
all: $(OBJ_BASE) $(TARGETS) .SYMBOLIC all: $(CURLBUILDH) $(OBJ_BASE) $(TARGETS) .SYMBOLIC
@echo Welcome to libcurl @echo Welcome to libcurl
$(OBJ_BASE): $(OBJ_BASE):
@ -105,6 +106,9 @@ $(OBJ_BASE):
-$(MD) $^@\stat -$(MD) $^@\stat
-$(MD) $^@\dyn -$(MD) $^@\dyn
$(CURLBUILDH): $(CURLBUILDH).dist .EXISTSONLY
$(CP) $[@ $^@
libcurl_wc.dll libcurl_wc_imp.lib: $(OBJS_DYN) $(RESOURCE) $(LINK_ARG) libcurl_wc.dll libcurl_wc_imp.lib: $(OBJS_DYN) $(RESOURCE) $(LINK_ARG)
$(LD) name libcurl_wc.dll @$(LINK_ARG) $(LD) name libcurl_wc.dll @$(LINK_ARG)