aboutsummaryrefslogtreecommitdiffstats
path: root/filter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'filter/Makefile')
-rw-r--r--filter/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/filter/Makefile b/filter/Makefile
index 745574c108..04c6b33405 100644
--- a/filter/Makefile
+++ b/filter/Makefile
@@ -1,18 +1,22 @@
-OBJS = filter-arg-types.lo filter-arg.lo filter-xml.lo filter-driver.lo filter-format.lo
-SRCS = filter-arg-types.c filter-arg.c filter-xml.c filter-driver.c filter-format.c
+OBJS = filter-arg-types.lo filter-arg.lo filter-xml.lo filter-format.lo
+SRCS = filter-arg-types.c filter-arg.c filter-xml.c filter-format.c
LIBFILTEROBJS = filter-sexp.lo
LIBFILTERSRCS = filter-sexp.c
LIBTOOL=sh ../libtool
+#CC=insure gcc
CFLAGS = `gnome-config --cflags xml gnome gtk gtkhtml gnomeui` -g -I../camel -I .. -I../libibex
LDFLAGS = `gnome-config --libs xml gnome gtk gtkhtml gnomeui` ../camel/libcamel.la -lpthread
-all: libfilter.la filter-driver
+all: libfilter.la filter-driver filter-druid
-filter-driver: $(OBJS) libfilter.la
+filter-druid: $(OBJS) filter-druid.lo libfilter.la
+ $(LIBTOOL) --mode link $(CC) $^ -o $@ $(LDFLAGS)
+
+filter-driver: $(OBJS) filter-driver.lo libfilter.la
$(LIBTOOL) --mode link $(CC) $^ -o $@ $(LDFLAGS)
libfilter.la: $(LIBFILTEROBJS)
@@ -20,3 +24,6 @@ libfilter.la: $(LIBFILTEROBJS)
%.lo: %.c
$(LIBTOOL) --mode compile $(CC) $(CFLAGS) -c -o $@ $<
+
+clean:
+ -rm -rf *.o *.lo core .libs