LIBDIR= ../lib/.libs
INCDIR= ../lib

LDFLAGS= @LDFLAGS@
CFLAGS= @CFLAGS@ -I$(INCDIR)

FILEMAP_OBJ= @FILEMAP_OBJ@
OBJS= xmlwf.o xmlfile.o codepage.o $(FILEMAP_OBJ)
LIBS= -L$(LIBDIR) -lexpat

xmlwf: $(OBJS)
	$(CC) -o xmlwf $(LDFLAGS) $(OBJS) $(LIBS)

clean:
	rm -f xmlwf core *.o