[PD-cvs] externals/grill/flext/build/lnx make-gcc.inc,NONE,1.1
Thomas Grill
xovo at users.sourceforge.net
Sun Dec 19 06:04:17 CET 2004
- Previous message: [PD-cvs] externals/grill/flext/build bmake-sub.mak,NONE,1.1 build-bcc.bat,NONE,1.1 build-cygwin.sh,NONE,1.1 build-gcc.sh,NONE,1.1 build-mingw.bat,NONE,1.1 build-msvc.bat,NONE,1.1 gnumake-sub.mak,NONE,1.1 nmake-sub.mak,NONE,1.1 bmake.mak,1.1,1.2 gnumake.mak,1.1,1.2 nmake.mak,1.1,1.2 config-lnx-pd-gcc.def,1.1,NONE config-mac-pd-gcc.def,1.1,NONE config-win-max-mingw.def,1.1,NONE config-win-max-msvc.def,1.2,NONE config-win-pd-bcc.def,1.1,NONE config-win-pd-cygwin.def,1.1,NONE config-win-pd-mingw.def,1.1,NONE config-win-pd-msvc.def,1.2,NONE make-lnx-gen-gcc.inc,1.1,NONE make-lnx-pd-gcc.inc,1.1,NONE make-mac-gen-gcc.inc,1.1,NONE make-mac-pd-gcc.inc,1.1,NONE make-win-gen-bcc.inc,1.1,NONE make-win-gen-cygwin.inc,1.1,NONE make-win-gen-mingw.inc,1.1,NONE make-win-gen-msvc.inc,1.2,NONE make-win-max-mingw.inc,1.1,NONE make-win-max-msvc.inc,1.2,NONE make-win-msvc.inc,1.1,NONE make-win-pd-bcc.inc,1.1,NONE make-win-pd-cygwin.inc,1.1,NONE make-win-pd-mingw.inc,1.1,NONE make-win-pd-msvc.inc,1.2,NONE
- Next message: [PD-cvs] externals/grill/flext/build/lnx/pd config-gcc.def,NONE,1.1 make-gcc.inc,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/grill/flext/build/lnx
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24525/build/lnx
Added Files:
make-gcc.inc
Log Message:
simplified make system
updated make system
--- NEW FILE: make-gcc.inc ---
LDFLAGS += -shared -Wl,-x
ifdef DEBUG
CFLAGS += -g -D_DEBUG
else
CFLAGS += $(OFLAGS) -DNDEBUG
LDFLAGS += -Wl,-S
endif
##############################################
INCPATH += -I$(FLEXTPATH)
LIBPATH += -L$(FLEXTPATH)
ifdef SHARED
# --- shared ---
DEFS += -DFLEXT_SHARED
else
ifdef THREADED
# --- static multi-threaded ---
DEFS += -DFLEXT_THREADS
else
# --- static single-threaded ---
endif
endif
##############################################
TARGET=$(OUTPATH)/$(NAME).$(EXT)
CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
COBJS=$(patsubst %.c,$(OUTPATH)/%.o,$(filter %.c,$(SRCS)))
CPPOBJS=$(patsubst %.cpp,$(OUTPATH)/%.opp,$(filter %.cpp,$(SRCS)))
# default target
all: $(OUTPATH) $(TARGET)
$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
touch $@
$(OUTPATH):
mkdir $(OUTPATH)
$(OUTPATH)/%.opp : $(SRCDIR)/%.cpp
$(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
$(OUTPATH)/%.o : $(SRCDIR)/%.c
$(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
$(TARGET) : $(COBJS) $(CPPOBJS)
$(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $^ $(LIBS)
chmod 755 $@
$(INSTPATH):
mkdir $(INSTPATH)
install:: $(INSTPATH)
install:: $(TARGET)
install $^ $(INSTPATH)
.PHONY: clean
clean:
$(RM) $(COBJS) $(CPPOBJS) $(TARGET)
- Previous message: [PD-cvs] externals/grill/flext/build bmake-sub.mak,NONE,1.1 build-bcc.bat,NONE,1.1 build-cygwin.sh,NONE,1.1 build-gcc.sh,NONE,1.1 build-mingw.bat,NONE,1.1 build-msvc.bat,NONE,1.1 gnumake-sub.mak,NONE,1.1 nmake-sub.mak,NONE,1.1 bmake.mak,1.1,1.2 gnumake.mak,1.1,1.2 nmake.mak,1.1,1.2 config-lnx-pd-gcc.def,1.1,NONE config-mac-pd-gcc.def,1.1,NONE config-win-max-mingw.def,1.1,NONE config-win-max-msvc.def,1.2,NONE config-win-pd-bcc.def,1.1,NONE config-win-pd-cygwin.def,1.1,NONE config-win-pd-mingw.def,1.1,NONE config-win-pd-msvc.def,1.2,NONE make-lnx-gen-gcc.inc,1.1,NONE make-lnx-pd-gcc.inc,1.1,NONE make-mac-gen-gcc.inc,1.1,NONE make-mac-pd-gcc.inc,1.1,NONE make-win-gen-bcc.inc,1.1,NONE make-win-gen-cygwin.inc,1.1,NONE make-win-gen-mingw.inc,1.1,NONE make-win-gen-msvc.inc,1.2,NONE make-win-max-mingw.inc,1.1,NONE make-win-max-msvc.inc,1.2,NONE make-win-msvc.inc,1.1,NONE make-win-pd-bcc.inc,1.1,NONE make-win-pd-cygwin.inc,1.1,NONE make-win-pd-mingw.inc,1.1,NONE make-win-pd-msvc.inc,1.2,NONE
- Next message: [PD-cvs] externals/grill/flext/build/lnx/pd config-gcc.def,NONE,1.1 make-gcc.inc,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list