aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pix_preview/Makefile4
-rwxr-xr-xvideogrid/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/pix_preview/Makefile b/pix_preview/Makefile
index 0c0b38f..ef0a321 100644
--- a/pix_preview/Makefile
+++ b/pix_preview/Makefile
@@ -27,8 +27,8 @@ clean:
distro: clean all
rm *.o
-.cpp.o:
- g++ $(GEM2PNM_CPPFLAGS) $(GEM2PNM_INCLUDE) -o $*.o -c $*.cpp
+.cc.o:
+ g++ $(GEM2PNM_CPPFLAGS) $(GEM2PNM_INCLUDE) -o $*.o -c $*.cc
.c.o:
gcc $(GEM2PNM_CPPFLAGS) $(GEM2PNM_INCLUDE) -o $*.o -c $*.c
diff --git a/videogrid/Makefile b/videogrid/Makefile
index 1fbcab9..82cb051 100755
--- a/videogrid/Makefile
+++ b/videogrid/Makefile
@@ -19,8 +19,8 @@ LINUXCFLAGS = -fPIC -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointe
LINUXINCLUDE = -I$(PD_SRC) -I/usr/include/
-.cpp.pd_linux:
- g++ $(FFMPEG_HEADERS) -I$(PD_SRC) -fPIC -c -O -o videogrid.o videogrid.cpp
+.cc.pd_linux:
+ g++ $(FFMPEG_HEADERS) -I$(PD_SRC) -fPIC -c -O -o videogrid.o videogrid.cc
# ./tk2c.bash < $*.tk > $*.tk2c
g++ $(FFMPEG_HEADERS) -export_dynamic -shared -o videogrid.pd_linux videogrid.o -lavformat -lavcodec -lavutil -lquicktime
rm -f $*.o