Commit 7f05ba28 authored by thomas's avatar thomas
Browse files

updated for build system

git-svn-id: https://svn.grrrr.org/ext/trunk@936 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent d01fe099
......@@ -31,11 +31,13 @@ _build_: $(TARGET)
$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
touch $@
# Attention: $@ doesn't work for paths with spaces....
$(OBJPATH):
-mkdir -p $@
-mkdir -p $(OBJPATH)
# Attention: $@ doesn't work for paths with spaces....
$(TARGETPATH):
-mkdir -p $@
-mkdir -p $(TARGETPATH)
$(PRECOMDST) : $(PRECOMSRC)
$(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
......@@ -60,8 +62,9 @@ _clean_:
##############################################
$(INSTPATH):
-mkdir -p $@
# Attention: $@ doesn't work for paths with spaces....
$(INSTPATH):
-mkdir -p $(INSTPATH)
_install_:: $(INSTPATH)
cp -R $(INSTTARGET) $(INSTPATH)
No preview for this file type
......@@ -118,7 +118,10 @@ extern "C" {
#include "ext.h"
#include "ext_user.h"
#if FLEXT_OS == FLEXT_OS_MAC && defined(MAC_VERSION)
// doesn't exist for OS9
#include "ext_critical.h"
#endif
#include "z_dsp.h"
} // extern "C"
......@@ -133,10 +136,9 @@ typedef t_int t_flint;
typedef t_symbol *t_symtype;
typedef t_object *t_thing;
// for the following to work for Max for OSX you should have the latest SDK
#if FLEXT_OS == FLEXT_OS_MAC && !defined(MAC_VERSION)
// Max for OS9 SDK
typedef qelem t_qelem;
// for the following to work you should have the latest SDK
#if FLEXT_OS == FLEXT_OS_MAC //&& !defined(MAC_VERSION)
typedef struct qelem t_qelem;
#else
typedef void *t_qelem;
#endif
......@@ -170,6 +172,11 @@ typedef void t_binbuf;
#define A_DEFSYMBOL A_DEFSYM
#endif
#if FLEXT_OS == FLEXT_OS_MAC && !defined(MAC_VERSION)
// simulate non-existing functions for OS9
#define critical_enter(N)
#define critical_exit(N)
#endif
#elif FLEXT_SYS == FLEXT_SYS_JMAX
......
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