2012-01-28 17:24:19 +00:00
|
|
|
BUILDMODE=debug
|
|
|
|
BUILDPATH=./build/${BUILDMODE}
|
|
|
|
|
2011-12-23 22:00:19 +00:00
|
|
|
all:
|
2012-01-28 17:24:19 +00:00
|
|
|
@+cd lib_paysages && make BUILDMODE=${BUILDMODE}
|
|
|
|
@+cd cli && make BUILDMODE=${BUILDMODE}
|
|
|
|
@+cd gui_qt && qmake "BUILDMODE=${BUILDMODE}" && make
|
2011-12-23 22:00:19 +00:00
|
|
|
|
|
|
|
clean:
|
2012-01-28 17:24:19 +00:00
|
|
|
cd lib_paysages && make clean BUILDMODE=${BUILDMODE}
|
|
|
|
cd cli && make clean BUILDMODE=${BUILDMODE}
|
|
|
|
cd gui_qt && qmake "BUILDMODE=${BUILDMODE}" && make clean
|
|
|
|
rm -f ${BUILDPATH}/paysages-qt
|
|
|
|
rm -f ${BUILDPATH}/paysages-cli
|
|
|
|
rm -f ${BUILDPATH}/libpaysages.so
|
|
|
|
|
|
|
|
release:
|
|
|
|
make BUILDMODE=release all
|
2011-12-25 21:19:32 +00:00
|
|
|
|
2012-01-10 20:51:27 +00:00
|
|
|
run_cli:
|
2012-01-28 17:24:19 +00:00
|
|
|
LD_LIBRARY_PATH=${BUILDPATH} ${BUILDPATH}/paysages-cli
|
2012-01-10 20:51:27 +00:00
|
|
|
|
2011-12-25 21:19:32 +00:00
|
|
|
run_qt:
|
2012-01-28 17:24:19 +00:00
|
|
|
LD_LIBRARY_PATH=${BUILDPATH} ${BUILDPATH}/paysages-qt
|
2011-12-23 22:00:19 +00:00
|
|
|
|
2012-01-28 17:24:19 +00:00
|
|
|
.PHONY:all clean release
|