aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.vxworks
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-08 15:49:02 +0000
committerYang Tse <yangsita@gmail.com>2009-06-08 15:49:02 +0000
commit01b74950b79588b0a21674ce5f389b2c7cdfd205 (patch)
tree9cd70d47f174673edeea9208624b245bad8b4097 /lib/Makefile.vxworks
parent420bfbcf40996644988c02b8a88e6e72d076df4e (diff)
Igor Novoseltsev adjusted Makefile.vxworks to get sources and headers
included from Makefile.inc
Diffstat (limited to 'lib/Makefile.vxworks')
-rw-r--r--lib/Makefile.vxworks9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Makefile.vxworks b/lib/Makefile.vxworks
index 288f24bc5..a1f9f82ae 100644
--- a/lib/Makefile.vxworks
+++ b/lib/Makefile.vxworks
@@ -13,6 +13,7 @@
# For example type 'set PATH=C:/embedded/cygwin/bin;%PATH%'
# 4. Build the library by typing 'make -f ./Makefile.vxworks'
# As a result the libcurl.a should be created in the 'lib' folder.
+# To clean package use 'make -f ./Makefile.vxworks clean'
#Requirements:
# 1. WinXP machine
# 2. Full CYGWIN installation (open source) with GNU make version
@@ -126,13 +127,15 @@ endif
# Directory to hold compilation intermediate files
TMP_DIR := tmp
+# Get sources and headers to be compiled
+include Makefile.inc
+
# List of headers
-INCLUDE_FILES := $(shell find . -name \*.h)
+INCLUDE_FILES := $(HHEADERS)
INCLUDE_FILES += $(shell find ../include -name \*.h)
# List of sources
-SOURCE := $(shell find . -name \*.c)
-OBJLIST := $(SOURCE:%.c=$(TMP_DIR)/%$(OBJ_EXTENSION))
+OBJLIST := $(CSOURCES:%.c=$(TMP_DIR)/%$(OBJ_EXTENSION))
# ----------------------------------------------------------------------