New tractor constructor
[melted] / src / modules / westley / Makefile
index b0a8d01..5d9234b 100644 (file)
@@ -6,9 +6,11 @@ OBJS = factory.o \
           consumer_westley.o \
           producer_westley.o
 
-CFLAGS = -O3 -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread `xml2-config --cflags`
+CFLAGS += -I../../ `xml2-config --cflags`
 
-LDFLAGS = `xml2-config --libs`
+LDFLAGS += `xml2-config --libs`
+
+LDFLAGS+=-L../../framework -lmlt
 
 SRCS := $(OBJS:.o=.c)
 
@@ -28,6 +30,7 @@ clean:
 
 install: all
        install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+       install -m 644 westley.dtd "$(prefix)/share/mlt/modules"
 
 ifneq ($(wildcard .depend),)
 include .depend