diff options
Diffstat (limited to 'externals/grill/flext/buildsys/bmake-sub.mak')
-rw-r--r-- | externals/grill/flext/buildsys/bmake-sub.mak | 43 |
1 files changed, 38 insertions, 5 deletions
diff --git a/externals/grill/flext/buildsys/bmake-sub.mak b/externals/grill/flext/buildsys/bmake-sub.mak index 4cd3df30..5baa4be9 100644 --- a/externals/grill/flext/buildsys/bmake-sub.mak +++ b/externals/grill/flext/buildsys/bmake-sub.mak @@ -1,8 +1,8 @@ +# general settings !include $(BUILDPATH)config-$(PLATFORM)-$(RTSYS)-$(COMPILER).txt ############################### - -# these are project specific +# project-specific definitions # package info !include $(USRINFO) @@ -19,10 +19,43 @@ ############################## +!ifndef TARGETMODE +!ifdef DEBUG +TARGETMODE=debug +!else +TARGETMODE=release +!endif +!endif + +!ifndef TARGETTYPE +!ifdef SHARED +TARGETTYPE=shared +!else +!ifdef THREADED +TARGETTYPE=multi +!else +TARGETTYPE=single +!endif +!endif +!endif + +############################## # flext-specific make stuff -!include $(BUILDPATH)bmake-flext.inc +!include $(BUILDPATH)bmake-$(BUILDCLASS).inc + +!include $(BUILDPATH)bmake.inc + +############################## # platform-specific make stuff -!include $(BUILDPATH)$(PLATFORM)\$(RTSYS)\make-$(COMPILER).inc + +!include $(BUILDPATH)$(PLATFORM)\$(RTSYS)\bmake-$(COMPILER)-$(BUILDCLASS).inc + +!include $(BUILDPATH)$(PLATFORM)\$(RTSYS)\bmake-$(COMPILER).inc + +############################## # general make stuff -!include $(BUILDPATH)$(PLATFORM)\make-$(COMPILER).inc + +!include $(BUILDPATH)$(PLATFORM)\bmake-$(COMPILER)-$(BUILDCLASS).inc + +!include $(BUILDPATH)$(PLATFORM)\bmake-$(COMPILER).inc |