Commit 8d0c7740 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

some more makefile changes.

parent 60106245
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 $@
+4 −3
Original line number Diff line number Diff line
@@ -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 "";

}
+1 −1
Original line number Diff line number Diff line
@@ -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