Commit d46e8bfe authored by thomas's avatar thomas
Browse files

updated build system

git-svn-id: https://svn.grrrr.org/ext/trunk@944 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent abb04b08
......@@ -17,24 +17,6 @@
!include $(USRMAKE)
!endif
##############################
!ifdef DEBUG
TARGETMODE=debug
!else
TARGETMODE=release
!endif
!ifdef SHARED
TARGETTYPE=shared
!else
!ifdef THREADED
TARGETTYPE=multi
!else
TARGETTYPE=single
!endif
!endif
##############################
# flext-specific make stuff
......
......@@ -51,5 +51,21 @@ FLEXTNAME=flext-$(RTSYS)_s
# product name and folder
##############################################
!ifdef DEBUG
TARGETMODE=debug
!else
TARGETMODE=release
!endif
!ifdef SHARED
TARGETTYPE=shared
!else
!ifdef THREADED
TARGETTYPE=multi
!else
TARGETTYPE=single
!endif
!endif
OUTNAME=$(NAME)
OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
......@@ -17,24 +17,6 @@ ifdef USRMAKE
include $(USRMAKE)
endif
##############################
ifdef DEBUG
TARGETMODE=debug
else
TARGETMODE=release
endif
ifdef SHARED
TARGETTYPE=shared
else
ifdef THREADED
TARGETTYPE=multi
else
TARGETTYPE=single
endif
endif
##############################
# flext-specific definitions
......
......@@ -51,4 +51,20 @@ endif # SHARED
# product name and folder
##############################################
ifdef DEBUG
TARGETMODE=debug
else
TARGETMODE=release
endif
ifdef SHARED
TARGETTYPE=shared
else
ifdef THREADED
TARGETTYPE=multi
else
TARGETTYPE=single
endif
endif
OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
##############################################
TARGETPATH=$(OUTPATH)/$(OUTSUB)
OBJPATH=$(OUTPATH)/$(OUTSUB)
TARGETPATH=$(OBJPATH)
TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
##############################################
......
......@@ -17,24 +17,6 @@
!include $(USRMAKE)
!endif
##############################
!ifdef DEBUG
TARGETMODE=debug
!else
TARGETMODE=release
!endif
!ifdef SHARED
TARGETTYPE=shared
!else
!ifdef THREADED
TARGETTYPE=multi
!else
TARGETTYPE=single
!endif
!endif
##############################
# flext-specific definitions
......
......@@ -49,4 +49,20 @@ FLEXTNAME=flext-$(RTSYS)_s
# product name and folder
##############################################
!ifdef DEBUG
TARGETMODE=debug
!else
TARGETMODE=release
!endif
!ifdef SHARED
TARGETTYPE=shared
!else
!ifdef THREADED
TARGETTYPE=multi
!else
TARGETTYPE=single
!endif
!endif
OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
Markdown is supported
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