diff options
Diffstat (limited to 'externals/grill/flext/buildsys/gnumake-sub.mak')
-rw-r--r-- | externals/grill/flext/buildsys/gnumake-sub.mak | 48 |
1 files changed, 40 insertions, 8 deletions
diff --git a/externals/grill/flext/buildsys/gnumake-sub.mak b/externals/grill/flext/buildsys/gnumake-sub.mak index 91440532..46a40de6 100644 --- a/externals/grill/flext/buildsys/gnumake-sub.mak +++ b/externals/grill/flext/buildsys/gnumake-sub.mak @@ -2,28 +2,60 @@ include $(BUILDPATH)config-$(PLATFORM)-$(RTSYS)-$(COMPILER).txt ############################### - -# these are project specific +# project specific definitions # package info include $(USRINFO) # special settings ifdef USRCONFIG -include $(USRCONFIG) + include $(USRCONFIG) endif # package specific make stuff ifdef USRMAKE -include $(USRMAKE) + include $(USRMAKE) +endif + +############################## + +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 definitions + +include $(BUILDPATH)gnumake-$(BUILDCLASS).inc -# flext-specific make stuff -include $(BUILDPATH)gnumake-flext.inc +include $(BUILDPATH)gnumake.inc +############################## # platform-specific make stuff -include $(BUILDPATH)$(PLATFORM)/$(RTSYS)/make-$(COMPILER).inc + +include $(BUILDPATH)$(PLATFORM)/$(RTSYS)/gnumake-$(COMPILER)-$(BUILDCLASS).inc + +include $(BUILDPATH)$(PLATFORM)/$(RTSYS)/gnumake-$(COMPILER).inc + +############################## # general make stuff -include $(BUILDPATH)$(PLATFORM)/make-$(COMPILER).inc + +include $(BUILDPATH)$(PLATFORM)/gnumake-$(COMPILER)-$(BUILDCLASS).inc + +include $(BUILDPATH)$(PLATFORM)/gnumake-$(COMPILER).inc |