File tree Expand file tree Collapse file tree 4 files changed +22
-15
lines changed
Expand file tree Collapse file tree 4 files changed +22
-15
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ linuxstubs.cpp: src/linux.stubs
5151include/revbuild.h: include/revbuild.h.in ../version
5252 ../prebuilt/bin/Revolution.lnx "./encode_version.rev" "./"
5353
54- ../_cache/linux/$(MODE)/$(NAME)/mcstring.o: include/revbuild.h
54+ include ../rules/environment.linux.makefile
55+
56+ $(CACHE_DIR)/mcstring.o: include/revbuild.h
5557
5658include Makefile.kernel-common
Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ linuxstubs.cpp: src/linux.stubs
6161encodederrors.cpp: src/executionerrors.h src/parseerrors.h
6262 ../prebuilt/bin/Revolution.lnx "./encode_errors.rev" "./src" "./src/encodederrors.cpp"
6363
64- ../_cache/linux/$(MODE)/$(NAME)/mcstring.o: include/revbuild.h
64+ include ../rules/environment.linux.makefile
65+
66+ $(CACHE_DIR)/mcstring.o: include/revbuild.h
6567
6668include ../rules/archive.linux.makefile
Original file line number Diff line number Diff line change 11# Common template Makefile for all types
22
3- ifeq ($(MODE ) ,)
4- MODE=debug
5- endif
6-
7- ifeq ($(EDITION ) ,)
8- SOLUTION_DIR=$(shell cat ../owner)/..
9- else
10- SOLUTION_DIR=../livecode
11- endif
12-
13- BUILD_DIR =$(SOLUTION_DIR ) /_build/linux/$(MODE )
14- CACHE_DIR =$(SOLUTION_DIR ) /_cache/linux/$(MODE ) /$(NAME )
15- PRODUCT_DIR =$(BUILD_DIR )
3+ include $(dir $(lastword $(MAKEFILE_LIST ) ) ) /environment.linux.makefile
164
175DEFINES =$(CUSTOM_DEFINES ) $(TYPE_DEFINES ) _LINUX TARGET_PLATFORM_POSIX
186
Original file line number Diff line number Diff line change 1+ # Common environment variables
2+
3+ ifeq ($(MODE ) ,)
4+ MODE=debug
5+ endif
6+
7+ ifeq ($(EDITION ) ,)
8+ SOLUTION_DIR=$(shell cat ../owner)/..
9+ else
10+ SOLUTION_DIR=../livecode
11+ endif
12+
13+ BUILD_DIR =$(SOLUTION_DIR ) /_build/linux/$(MODE )
14+ CACHE_DIR =$(SOLUTION_DIR ) /_cache/linux/$(MODE ) /$(NAME )
15+ PRODUCT_DIR =$(BUILD_DIR )
You can’t perform that action at this time.
0 commit comments