build: add files to make clean command

This commit is contained in:
winkies 2021-01-24 22:03:12 +01:00
parent ba3702e8c8
commit 6b0ce34b40
6 changed files with 12 additions and 3 deletions

View File

@ -72,7 +72,7 @@ svn_version.h: generate_svn_version.sh
# Add a stage target for staging a distribution # Add a stage target for staging a distribution
clean-generic: clean-generic:
rm -rf stage *.gcov rm -rf stage *.gcov $(BUILT_SOURCES)
stage: all stage: all
if [ ! -d stage ] ; then mkdir stage ; fi if [ ! -d stage ] ; then mkdir stage ; fi

View File

@ -100,6 +100,9 @@ $(LIBBOINC_OPENCL_STATIC): libboinc_opencl.la
rm -f $(LIBBOINC_OPENCL_STATIC) rm -f $(LIBBOINC_OPENCL_STATIC)
$(LN) .libs/$(LIBBOINC_OPENCL_STATIC) . $(LN) .libs/$(LIBBOINC_OPENCL_STATIC) .
clean:
rm -f ${LIBBOINC_API_STATIC} ${LIBBOINC_GRAPHICS2_STATIC} ${LIBBOINC_OPENCL_STATIC}
endif ## ENABLE_LIBRARIES endif ## ENABLE_LIBRARIES
.PHONY: .PHONY:

View File

@ -24,7 +24,7 @@ if OS_DARWIN
LIBS += -framework IOKit -framework Foundation -framework ScreenSaver -framework Cocoa -framework CoreServices LIBS += -framework IOKit -framework Foundation -framework ScreenSaver -framework Cocoa -framework CoreServices
endif endif
bin_PROGRAMS = boinc_client boinccmd bin_PROGRAMS = boinc_client boinccmd boinc
if !OS_WIN32 if !OS_WIN32
bin_PROGRAMS += switcher bin_PROGRAMS += switcher
endif endif

View File

@ -33,3 +33,7 @@ all-local:
install-exec-local: install-exec-local:
python setup.py install --prefix=$(prefix) --root=$(DESTDIR) python setup.py install --prefix=$(prefix) --root=$(DESTDIR)
clean:
rm -rf $(top_builddir)/py/lib.*

View File

@ -334,4 +334,4 @@ PHONY-start:
status stop: PHONY-start status stop: PHONY-start
@test -f $@ || @LN_S@ start $@ && test -f $@ @test -f $@ || @LN_S@ start $@ && test -f $@
CLEANFILES = status stop *.gcno *.gcda *.gcov CLEANFILES = status stop *.gcno *.gcda *.gcov *.a

View File

@ -81,3 +81,5 @@ $(LIBBOINC_ZIP_STATIC): libboinc_zip.la
rm -f $(LIBBOINC_ZIP_STATIC) rm -f $(LIBBOINC_ZIP_STATIC)
$(LN) .libs/$(LIBBOINC_ZIP_STATIC) . $(LN) .libs/$(LIBBOINC_ZIP_STATIC) .
clean:
rm -f $(LIBBOINC_ZIP_STATIC)