blob: efc506d9c68a736663acf9a53c0f689d0244f64f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
LIBFILTEROBJS = filter-arg-types.lo filter-arg.lo filter-xml.lo filter-format.lo filter-druid.lo
LIBFILTERSRCS = filter-arg-types.c filter-arg.c filter-xml.c filter-format.c filter-druid.c
LIBTOOL=sh ../libtool
#CC=insure gcc
CFLAGS = `gnome-config --cflags xml gnome gtk gtkhtml gnomeui` -g -I .. -I../libibex
LDFLAGS = `gnome-config --libs xml gnome gtk gtkhtml gnomeui`
all: libfilter.la filter-editor
filter-editor: $(OBJS) filter-editor.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)
$(LIBTOOL) --mode link $(CC) -static $^ -o $@
%.lo: %.c
$(LIBTOOL) --mode compile $(CC) $(CFLAGS) -c -o $@ $<
install:
echo "install not yet implemented"
clean:
-rm -rf *.o *.lo core .libs
|