1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

some more makefile changes.

This commit is contained in:
Gunter Knauf 2004-06-11 02:29:16 +00:00
parent 601062455c
commit 8d0c77403c
3 changed files with 8 additions and 7 deletions

View File

@ -56,7 +56,7 @@ CP = cp -afv
# RM = rm -f
# if you want to mark the target as MTSAFE you will need a tool for
# generating the xdc data for the linker; here's a minimal tool:
# http://www.gknw.de/development/prgtools/mkxdc.zip
# http://www.gknw.com/development/prgtools/mkxdc.zip
MPKXDC = mkxdc
# Global flags for all compilers
@ -188,8 +188,8 @@ OBJS = \
all: $(OBJDIR) $(OBJDIR)/version.inc $(OBJDIR)/$(TARGET).nlm
$(OBJDIR)/%.o: %.c
@echo Compiling $<
@$(CC) $(CFLAGS) -c $< -o $@
# @echo Compiling $<
$(CC) $(CFLAGS) -c $< -o $@
$(OBJDIR)/version.inc: ../include/curl/curlver.h $(OBJDIR)
@echo Creating $@

View File

@ -20,7 +20,10 @@
# *
# * $Id$
# ***************************************************************************
# fetch libcurl version number from input file and write them to STDOUT
# awk script which fetches libcurl version number and string from input file
# and writes them to STDOUT. Here you can get an awk version for Win32:
# http://www.gknw.com/development/prgtools/awk.zip
#
BEGIN {
while ((getline < ARGV[1]) > 0) {
if (match ($0, /^#define LIBCURL_VERSION "[^"]+"/)) {
@ -37,8 +40,6 @@ BEGIN {
}
}
libcurl_ver = libcurl_ver_major "," libcurl_ver_minor "," libcurl_ver_patch;
print "LIBCURL_VERSION = " libcurl_ver "";
print "LIBCURL_VERSION_STR = " libcurl_ver_str "";
}

View File

@ -57,7 +57,7 @@ CP = cp -afv
# RM = rm -f
# if you want to mark the target as MTSAFE you will need a tool for
# generating the xdc data for the linker; here's a minimal tool:
# http://www.gknw.de/development/prgtools/mkxdc.zip
# http://www.gknw.com/development/prgtools/mkxdc.zip
MPKXDC = mkxdc
# Global flags for all compilers