BINARIES = gsg GSG_OBJS = gsg.o gsg_wc.o gsg_view.o gsg_com.o SVN_INC = -I/usr/local/include/subversion-1 -I/usr/local/include/apache2 SVN_LIB_SVN = -lsvn_client-1 SVN_LIB_APR = -lapr-0 -lpthread SVN_LIB = -L/usr/local/lib ${SVN_LIB_SVN} ${SVN_LIB_APR} .SUFFIXES: .SUFFIXES: .c .cpp .o .c.o: $< gcc -Wall -g -c $< `pkg-config --cflags gtk+-2.0` ${SVN_INC} .cpp.o: $< g++ -Wall -g -c $< `pkg-config --cflags gtk+-2.0` ${SVN_INC} all: ${BINARIES} clean: rm -f ${BINARIES} *.o gsg: ${GSG_OBJS} g++ -Wall -g ${GSG_OBJS} -o $@ `pkg-config --libs gtk+-2.0` ${SVN_LIB} somespace: @echo "" @echo "" @echo "=================" test: somespace gsg @echo "=================" ./gsg ${GSG_OBJS}: gsg.h