a4df196ed4
My plan now is to integrate the PseudoConsole with Cygwin and MSYS ptys, with initial focus on Cygwin. I think I'll keep the separate Agent and DLL binaries, and they'll continue to be native Win32 binaries. I don't want to have two build systems (qmake vs whatever MSYS/Cygwin uses), and since I'd like to remove the Qt dependency anyway, I'm trying to switch to makefiles.
25 lines
444 B
Makefile
25 lines
444 B
Makefile
ifndef QT_DIR
|
|
$(error The QT_DIR variable must be defined to the QtSDK mingw directory containing bin, include, and lib)
|
|
endif
|
|
|
|
QT_INCLUDE=${QT_DIR}/include
|
|
QT_LIB=${QT_DIR}/lib
|
|
MOC=${QT_DIR}/bin/moc
|
|
|
|
.PRECIOUS : moc_%.cc
|
|
moc_%.cc : %.h
|
|
@echo Making $@ from $<
|
|
@$(MOC) -o $@ $<
|
|
|
|
CXXFLAGS += \
|
|
-DUNICODE \
|
|
-D_UNICODE \
|
|
-I$(QT_INCLUDE) \
|
|
-I$(QT_INCLUDE)/Qt \
|
|
-I$(QT_INCLUDE)/QtCore
|
|
|
|
LDFLAGS += \
|
|
-municode \
|
|
-L$(QT_LIB) \
|
|
-lQtCore4
|