diff options
author | Guenter Knauf <lists@gknw.net> | 2010-08-01 02:39:03 +0200 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2010-08-01 02:39:03 +0200 |
commit | a93522f68d01a4f1eb6aeef31ec4c845372bd204 (patch) | |
tree | 4d9f910bd63bd4cd5e444ef7e1f92ba4b6e3550e | |
parent | 425060fed18224c7ebd260f2c7a23f3563130373 (diff) | |
download | curl-a93522f68d01a4f1eb6aeef31ec4c845372bd204.tar.gz |
Added rule to create curlbuild.h if not present (for builds from git).
-rw-r--r-- | lib/Makefile.Watcom | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom index 2f74a20cc..50385f232 100644 --- a/lib/Makefile.Watcom +++ b/lib/Makefile.Watcom @@ -89,15 +89,16 @@ OBJS = $OBJ_DIR\$(OBJS: = $OBJ_DIR\) # # Use $(OBJS) as a template to generate $(OBJS_STAT) and $(OBJS_DYN). # -OBJ_DIR = $(OBJ_BASE)\stat -OBJS_STAT = $+ $(OBJS) $- +OBJ_DIR = $(OBJ_BASE)\stat +OBJS_STAT = $+ $(OBJS) $- -OBJ_DIR = $(OBJ_BASE)\dyn -OBJS_DYN = $+ $(OBJS) $- +OBJ_DIR = $(OBJ_BASE)\dyn +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 $(OBJ_BASE): @@ -105,6 +106,9 @@ $(OBJ_BASE): -$(MD) $^@\stat -$(MD) $^@\dyn +$(CURLBUILDH): $(CURLBUILDH).dist .EXISTSONLY + $(CP) $[@ $^@ + libcurl_wc.dll libcurl_wc_imp.lib: $(OBJS_DYN) $(RESOURCE) $(LINK_ARG) $(LD) name libcurl_wc.dll @$(LINK_ARG) |