diff options
| author | tbzatek <tbzatek@localhost.localdomain> | 2009-10-02 18:02:47 -0400 |
|---|---|---|
| committer | tbzatek <tbzatek@localhost.localdomain> | 2009-10-02 18:02:47 -0400 |
| commit | eb3ac2e40b5277fdbc5486b31dabf9c743724024 (patch) | |
| tree | 51f358cf8335ef1e2882b437bc2f3c37e4f932c4 | |
| parent | 07f393e96426dec1592291f68d1796ccbe6c40dd (diff) | |
| download | tuxcmd-modules-eb3ac2e40b5277fdbc5486b31dabf9c743724024.tar.xz | |
We don't really need c++ compiler for gvfs plugin
| -rw-r--r-- | gvfs/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gvfs/Makefile b/gvfs/Makefile index 7542c7e..c50ddb5 100644 --- a/gvfs/Makefile +++ b/gvfs/Makefile @@ -5,7 +5,6 @@ INSTALL_DATA = ${INSTALL} -m 644 # compiler options CC = gcc -CPP = g++ CFLAGS =-I. -I/usr/include \ -Wall -fPIC -O2 -g \ -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE @@ -19,17 +18,15 @@ VFS_COMMON_OBJECTS= VFS_OBJECTS=gvfs.o -.SUFFIXES: .c .cpp +.SUFFIXES: .c .c.o: $(CC) $(CFLAGS) `pkg-config glib-2.0 gio-2.0 --cflags` -c $< -.cpp.o: - $(CPP) $(CFLAGS) `pkg-config glib-2.0 gio-2.0 --cflags` -c $< all shared static: libgvfs_plugin.so libgvfs_plugin.so: $(VFS_COMMON_OBJECTS) $(VFS_OBJECTS) - $(CPP) -shared -o libgvfs_plugin.so $(VFS_COMMON_OBJECTS) $(VFS_OBJECTS) $(CFLAGS) `pkg-config glib-2.0 gio-2.0 --libs` + $(CC) -shared -o libgvfs_plugin.so $(VFS_COMMON_OBJECTS) $(VFS_OBJECTS) $(CFLAGS) `pkg-config glib-2.0 gio-2.0 --libs` strutils.o: strutils.c strutils.h treepathutils.o: treepathutils.c treepathutils.h |
