# Makefile for addword
# Copyright (c) 1998-2000 HORIKAWA Hisashi. All rights reserved.

include ../Makefile.conf

INCDIR = $(WNNINCDIR) -I../libs
LIBS = $(WNNLIBS)

CFLAGS = $(DEBUGOPT) $(INCDIR) -DGTK_DISABLE_COMPAT_H `gtk-config --cflags`
LDFLAGS = `gtk-config --libs` $(LIBS)

target = addword

$(target): callbacks.o interface.o main.o support.o \
  ../libs/misc.o ../qWnn.o
	$(CC) -o $@ $^ $(LDFLAGS)

clean:
	rm -f $(target) a.out *.o core *.bak *.BAK *~
