diff options
author | N.N. <martin_pi@users.sourceforge.net> | 2003-02-17 14:12:16 +0000 |
---|---|---|
committer | N.N. <martin_pi@users.sourceforge.net> | 2003-02-17 14:12:16 +0000 |
commit | e7b24dd7da9de84e218f7d7be623f0cf8b9d1b9c (patch) | |
tree | d6f37e159464589e9c5c3dea8b38e4d03631794c /skidder/makefile |
This commit was generated by cvs2svn to compensate for changes in r415,svn2git-root
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/externals/dfx/; revision=416
Diffstat (limited to 'skidder/makefile')
-rwxr-xr-x | skidder/makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/skidder/makefile b/skidder/makefile new file mode 100755 index 0000000..dcecc91 --- /dev/null +++ b/skidder/makefile @@ -0,0 +1,46 @@ +CXX=g++-3.0 +CFLAGS=-O6 -mcpu=pentiumpro -g -g +FLAGS=-DPD + +FLEXTPATH=/usr/local/lib/pd/externs/flext +DFXINC=../dfx-library + +INCLUDES=/usr/local/lib/pd/include $(FLEXTPATH) $(DFXINC) +FLEXTLIB=$(FLEXTPATH)/flext.a + +LIBS=m + +PDEXTRA=/usr/local/lib/pd/extra + +TARGET=skidder~.pd_linux + +SRCS=skidder.cpp ../dfx-library/TempoRateTable.cpp + +all: $(TARGET) + +%.o : %.cpp %.hpp + $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES)) $< -o $@ + +$(DFXINC)/%.o : $(DFXINC)/%.cpp + $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES)) $< -o $@ + +$(TARGET) : $(patsubst %.cpp,%.o,$(SRCS)) $(FLEXTLIB) + $(CXX) $(LDFLAGS) -shared $^ $(patsubst %,-l%,$(LIBS)) -o $@ + strip --strip-unneeded $@ + chmod 755 $@ + +install: $(TARGET) + chown root.root $^ + cp $^ $(PDEXTRA) + +.PHONY: clean +clean: + rm -f *.o $(TARGET) + + + + + + + + |