BiblioInfo.cpp \
Box.cpp \
Box.h \
+ Compare.cpp \
+ Compare.h \
Dimension.cpp \
Dimension.h \
$(HUNSPELL) \
endif
+######################### Qt stuff ##############################
+
+MOCHEADER = Compare.h
+
if INSTALL_WINDOWS
-MOCHEADER = Server.h
+MOCHEADER += Server.h
+MOCFLAG = -D_WIN32
+
+endif
MOCEDFILES = $(MOCHEADER:%.h=moc_%.cpp)
CLEANFILES += $(MOCEDFILES)
moc_%.cpp: %.h
- $(MOC4) -D_WIN32 -o $@ $<
+ $(MOC4) $(MOCFLAG) -o $@ $<
liblyxcore_a_DEPENDENCIES = $(MOCEDFILES)
-endif
-
############################### Graphics ##############################
noinst_LIBRARIES += liblyxgraphics.a