# -*- Makefile -*-

TEMPLATE = app
TARGET = editor
DEPENDPATH += . ..
INCLUDEPATH += . ..
QT += core gui xml

# For debugging
QMAKE_CXXFLAGS += -g -Wall -Werror

win32 {
  LIBPATH += lua/lib
  INCLUDEPATH += lua/include
  LIBS += -llua51
  DEFINES += HOST_WIN32
}

unix {
  LIBS += -llua
}

HEADERS += \
        widgets.h \
	widgets/widget.h \
	widgets/label.h \
	widgets/lineedit.h \
        widgets/multilist.h \
	widgets/textedit.h \
	widgets/button.h \
	widgets/combobox.h \
	widgets/listbox.h \
	widgets/frame.h \
	widgets/groupbox.h \
	widgets/radiobutton.h \
	widgets/radiobuttons.h \
	widgets/checkbox.h \
	widgets/window.h

SOURCES += \
        editor.cc