From 6cef75a6df920f13a42b0ab17e2539aacc5e79e5 Mon Sep 17 00:00:00 2001 From: Vasily_Makarov Date: Wed, 8 Feb 2012 19:31:40 +0400 Subject: SAE: Removing dependencies of ibus --- saedit/Makefile | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'saedit/Makefile') diff --git a/saedit/Makefile b/saedit/Makefile index d5a7bdc..a45c3c1 100644 --- a/saedit/Makefile +++ b/saedit/Makefile @@ -8,28 +8,23 @@ endif LDFLAGS += -export-dynamic -GTK_CFLAGS = `pkg-config --cflags gtk+-3.0 gtksourceview-3.0` -IBUS_CFLAGS = `pkg-config --cflags ibus-1.0` +CFLAGS += `pkg-config --cflags gtk+-3.0 gtksourceview-3.0` -GTK_LDFLAGS = `pkg-config --libs gtk+-3.0 gtksourceview-3.0` -IBUS_LDFLAGS = `pkg-config --libs ibus-1.0` - -IBUS_FLAGS = ${IBUS_CFLAGS} ${IBUS_LDFLAGS} -GTK_FLAGS = ${GTK_CFLAGS} ${GTK_LDFLAGS} +LDFLAGS += `pkg-config --libs gtk+-3.0 gtksourceview-3.0` OUTPUT = saedit all:clean main.o search.o config.o xml.o sae.o compile compile: main.o search.o config.o xml.o - gcc ${CFLAGS} ${GTK_FLAGS} ${IBUS_FLAGS} ${LDFLAGS} -o '${OUTPUT}' main.o search.o config.o xml.o sae.o + gcc ${CFLAGS} ${LDFLAGS} -o '${OUTPUT}' main.o search.o config.o xml.o sae.o main.o: main.c main.h search.h config.h common.h xml.h - gcc ${CFLAGS} ${GTK_CFLAGS} ${IBUS_CFLAGS} -c -o main.o main.c + gcc ${CFLAGS}-c -o main.o main.c search.o: search.c search.h common.h - gcc ${CFLAGS} ${GTK_CFLAGS} -c -o search.o search.c + gcc ${CFLAGS} -c -o search.o search.c xml.o: xml.c xml.h common.h - gcc ${CFLAGS} ${IBUS_FLAGS} -c -o xml.o xml.c + gcc ${CFLAGS} -c -o xml.o xml.c config.o: config.c config.h common.h - gcc ${CFLAGS} ${GTK_CFLAGS} ${IBUS_FLAGS} -c -o config.o config.c + gcc ${CFLAGS} -c -o config.o config.c sae.o: sae.c sae.h common.h - gcc ${CFLAGS} ${GTK_CFLAGS} ${IBUS_CFLAGS} -c -o sae.o sae.c + gcc ${CFLAGS} -c -o sae.o sae.c clean: rm -rfv '${OUTPUT}' *.o *.o~ *~ -- cgit v1.2.3-70-g09d2