|
|
2009/12/1 Abhishek <abhishekworld@xxxxxxxxx>:
>
> Hi Stephen,
> Cant we do
> QMAKE_CLEAN += /path/to/file
>
> QT_DISTCLEAN += $${QMAKE_CLEAN}
>
> or
>
> QMAKE_CLEAN += /path/to/file
>
> QT_DISTCLEAN += /path/to/file
>
> could you please check and tell me if its works on your system.
>
>
I assume you mean QMAKE_DISTCLEAN as per previous posts as there isn't
a QT_DISTCLEAN.
Both forms work in the sense that they both generate:
clean:compiler_clean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) /path/to/file
-$(DEL_FILE) *~ core *.core
####### Sub-libraries
distclean: clean
-$(DEL_FILE) $(TARGET)
-$(DEL_FILE) /path/to/file
-$(DEL_FILE) Makefile
However, I don't follow why you want to do this. The distclean target
depends on the clean target, so why would you want to add files to be
removed by distclean that are already removed by clean?
--
Cheers,
Stephen Jackson
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest
|
|