[mythtv-users] Compiling Error

Kenneth Aafløy ke-aa at frisurf.no
Sun Jan 18 21:54:33 EST 2004


John Barton
> I had done make clean, but I guess it didn’t
> do the right thing.  It just now passed
> the part where it was stuck, and I hope it wont
> do it again.  By the way, what is the difference
> between clean and distclean?

Looking at my qmake generated Makefile for libmythtv:

|clean: mocclean
|    -$(DEL_FILE) $(OBJECTS)
|    -$(DEL_FILE) *~ core *.core
|distclean: clean
|    -$(DEL_FILE) $(TARGET) $(TARGET)
|    -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)

This tells me that a 'make clean' will delete all the compiled .c and
.cpp files (OBJECTS) + any core dumps produced in that directory + *~.
The makefile target distclean will also delete the linked library
(TARGET*) in addition to the stuff that clean does.

Kenneth



More information about the mythtv-users mailing list