version 1.9, 2014/03/17 23:26:14
|
version 1.10, 2014/05/22 15:44:57
|
|
|
# but it's actually unnecessary because they are forced to be recompiled | # but it's actually unnecessary because they are forced to be recompiled |
# every time the modules that use them are recompiled, whether they are | # every time the modules that use them are recompiled, whether they are |
# out of date or not. see the phony targets in the corresponding Rules.mk files. | # out of date or not. see the phony targets in the corresponding Rules.mk files. |
GLOBALHSMODLIST := jv2ts jretile jtsfiddle jtsslice jpkbgn jrebinsmooth undistortmdi mkylms |
# UPDATE: i'm adding the libraries after all, just in case someone wants to |
|
# specify them as a target on the commandline. for the globalhs modules, |
|
# this is never needed. |
|
GLOBALHSMODLIST := jv2ts jretile jtsfiddle jtsslice jpkbgn jrebinsmooth undistortmdi mkylms inv2d.x \ |
|
libdtgf.a libinv2d.a libpkbgn.a libprojection.a |
| |
define GHSWARNING1 | define GHSWARNING1 |
| |
|
|
ifeq ($(GLOBALHSTAGOVERRIDE),) | ifeq ($(GLOBALHSTAGOVERRIDE),) |
ifeq ($(MAKECMDGOALS),) | ifeq ($(MAKECMDGOALS),) |
GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR)) | GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR)) |
ifeq ($(GLOBALHS_TAG),) |
|
GLOBALHS_TAG := globalhs |
|
endif |
|
TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) | TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) |
ifeq ($(TAGCHECK),) | ifeq ($(TAGCHECK),) |
$(warning $(GHSWARNING1)) | $(warning $(GHSWARNING1)) |
Line 57 ifeq ($(GLOBALHSTAGOVERRIDE),) |
|
Line 58 ifeq ($(GLOBALHSTAGOVERRIDE),) |
|
GHSTARGETTEST := $(filter $(GHSTARGETLIST),$(MAKECMDGOALS)) | GHSTARGETTEST := $(filter $(GHSTARGETLIST),$(MAKECMDGOALS)) |
ifneq ($(GHSTARGETTEST),) | ifneq ($(GHSTARGETTEST),) |
GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR)) | GLOBALHS_TAG := $(shell $(SRCDIR)/proj/globalhs/scripts/checkglobalhstags $(SRCDIR)) |
ifeq ($(GLOBALHS_TAG),) |
|
GLOBALHS_TAG := globalhs |
|
endif |
|
TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) | TAGCHECK := $(findstring globalhs,$(GLOBALHS_TAG)) |
ifeq ($(TAGCHECK),) | ifeq ($(TAGCHECK),) |
$(warning $(GHSWARNING1)) | $(warning $(GHSWARNING1)) |