mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05:00
Igor Novoseltsev adjusted Makefile.vxworks to get sources and headers
included from Makefile.inc
This commit is contained in:
parent
420bfbcf40
commit
01b74950b7
@ -13,6 +13,7 @@
|
|||||||
# For example type 'set PATH=C:/embedded/cygwin/bin;%PATH%'
|
# For example type 'set PATH=C:/embedded/cygwin/bin;%PATH%'
|
||||||
# 4. Build the library by typing 'make -f ./Makefile.vxworks'
|
# 4. Build the library by typing 'make -f ./Makefile.vxworks'
|
||||||
# As a result the libcurl.a should be created in the 'lib' folder.
|
# As a result the libcurl.a should be created in the 'lib' folder.
|
||||||
|
# To clean package use 'make -f ./Makefile.vxworks clean'
|
||||||
#Requirements:
|
#Requirements:
|
||||||
# 1. WinXP machine
|
# 1. WinXP machine
|
||||||
# 2. Full CYGWIN installation (open source) with GNU make version
|
# 2. Full CYGWIN installation (open source) with GNU make version
|
||||||
@ -126,13 +127,15 @@ endif
|
|||||||
# Directory to hold compilation intermediate files
|
# Directory to hold compilation intermediate files
|
||||||
TMP_DIR := tmp
|
TMP_DIR := tmp
|
||||||
|
|
||||||
|
# Get sources and headers to be compiled
|
||||||
|
include Makefile.inc
|
||||||
|
|
||||||
# List of headers
|
# List of headers
|
||||||
INCLUDE_FILES := $(shell find . -name \*.h)
|
INCLUDE_FILES := $(HHEADERS)
|
||||||
INCLUDE_FILES += $(shell find ../include -name \*.h)
|
INCLUDE_FILES += $(shell find ../include -name \*.h)
|
||||||
|
|
||||||
# List of sources
|
# List of sources
|
||||||
SOURCE := $(shell find . -name \*.c)
|
OBJLIST := $(CSOURCES:%.c=$(TMP_DIR)/%$(OBJ_EXTENSION))
|
||||||
OBJLIST := $(SOURCE:%.c=$(TMP_DIR)/%$(OBJ_EXTENSION))
|
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user