include ../global_config

OBJS = \
	mainwindow.o

OUTPUT = heroine_encode

CFLAGS += -I../guicast -I../quicktime
LIBS = -L../guicast \
	 ../guicast/libguicast.a ../quicktime/libquicktime.a ../../gfx/libpng.a ../../gfx/libz.a \
	 -lraw1394 $(XLIBS) $(shell glib-config --libs)
export CFLAGS

$(OUTPUT): $(OBJS)
	$(CC) -o $(OUTPUT) $(OBJS) $(LFLAGS) $(LIBS)

.C.o:
	$(CC) -c `./c_flags` $*.C

clean:
	rm -f core
	rm -f *.o *.a
	rm -f $(OUTPUT)

