Skip to content
Snippets Groups Projects
Commit 5cca4df2 authored by Mark Olesen's avatar Mark Olesen
Browse files

finalize wmake/utilbin/ -> wmake/bin/ change

- update foamPack* scripts accordingly
parent dbf3d845
Branches
Tags
No related merge requests found
......@@ -89,7 +89,7 @@ find -H $packDir \
-e "\@$packDir/lib/@d" \
-e '\@/\.git/@d' \
-e '\@applications/bin/@d' \
-e '\@wmake/utilbin/@d' \
-e '\@wmake/bin/@d' \
-e '\@/t/@d' \
-e '\@Make[.A-Za-z]*/[^/]*/@d' \
-e '\@doc/[Dd]oxygen/html@d' \
......
......@@ -76,7 +76,7 @@ dirList=$(
$packDir/lib/$arch \
$packDir/applications/bin/$arch \
$packDir/wmake/rules \
$packDir/wmake/utilbin/$baseArch \
$packDir/wmake/bin/$baseArch \
;
do
[ -d $dir ] && echo $dir
......
......@@ -82,7 +82,7 @@ find -H $packDir \
-e '\@/\.git/@d' \
-e '\@/\.tags/@d' \
-e '\@applications/bin/@d' \
-e '\@wmake/utilbin/@d' \
-e '\@wmake/bin/@d' \
-e '\@/t/@d' \
-e '\@/Make[.A-Za-z]*/[^/]*/@d'\
-e '\@/platforms/@d' \
......
......@@ -29,7 +29,9 @@
# Generic Makefile used by wmake
#
#------------------------------------------------------------------------------
# Set shell the Makefile uses to the Bourne shell
#------------------------------------------------------------------------------
# The Makefile use a POSIX shell
#------------------------------------------------------------------------------
SHELL = /bin/sh
......
......@@ -34,6 +34,6 @@
# run from this directory only
cd ${0%/*} || exit 1
( cd src && make )
( cd src && make $@ )
#------------------------------------------------------------------------------
......@@ -43,7 +43,22 @@ SHELL = /bin/sh
.SUFFIXES:
.SUFFIXES: .o
BIN = $(WM_DIR)/bin/$(WM_ARCH)$(WM_COMPILER)
#------------------------------------------------------------------------------
# set compilation and dependency building rules
#------------------------------------------------------------------------------
GENERAL_RULES = $(WM_DIR)/rules/General
RULES = $(WM_DIR)/rules/$(WM_ARCH)$(WM_COMPILER)
BIN = $(WM_DIR)/bin/$(WM_ARCH)$(WM_COMPILER)
include $(RULES)/general
include $(RULES)/$(WM_LINK_LANGUAGE)
#------------------------------------------------------------------------------
# targets
#------------------------------------------------------------------------------
all: $(BIN)/dirToString $(BIN)/wmkdep
......@@ -59,16 +74,7 @@ $(BIN)/wmkdep: wmkdep.l
@mkdir -p $(BIN)
flex wmkdep.l
$(cc) $(cFLAGS) lex.yy.c -o $(BIN)/wmkdep
@rm -f lex.yy.c 2>/dev/null
#------------------------------------------------------------------------------
# set compilation and dependency building rules
#------------------------------------------------------------------------------
GENERAL_RULES = $(WM_DIR)/rules/General
RULES = $(WM_DIR)/rules/$(WM_ARCH)$(WM_COMPILER)
include $(RULES)/general
include $(RULES)/$(WM_LINK_LANGUAGE)
#------------------------------------------------------------------------------
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment