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:
parent
425060fed1
commit
a93522f68d
@ -89,15 +89,16 @@ OBJS = $OBJ_DIR\$(OBJS: = $OBJ_DIR\)
|
|||||||
#
|
#
|
||||||
# Use $(OBJS) as a template to generate $(OBJS_STAT) and $(OBJS_DYN).
|
# Use $(OBJS) as a template to generate $(OBJS_STAT) and $(OBJS_DYN).
|
||||||
#
|
#
|
||||||
OBJ_DIR = $(OBJ_BASE)\stat
|
OBJ_DIR = $(OBJ_BASE)\stat
|
||||||
OBJS_STAT = $+ $(OBJS) $-
|
OBJS_STAT = $+ $(OBJS) $-
|
||||||
|
|
||||||
OBJ_DIR = $(OBJ_BASE)\dyn
|
OBJ_DIR = $(OBJ_BASE)\dyn
|
||||||
OBJS_DYN = $+ $(OBJS) $-
|
OBJS_DYN = $+ $(OBJS) $-
|
||||||
|
|
||||||
RESOURCE = $(OBJ_BASE)\dyn\libcurl.res
|
CURLBUILDH = ..\include\curl\curlbuild.h
|
||||||
|
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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user