From a771b23982be98228b3f3a76a3fa4848808ec5cd Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Mon, 19 Feb 2018 10:49:03 +0100 Subject: [PATCH] 3rdparty: fix clean targets --- 3rdparty/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/3rdparty/Makefile b/3rdparty/Makefile index 1f8c198f..9db87f85 100644 --- a/3rdparty/Makefile +++ b/3rdparty/Makefile @@ -45,12 +45,17 @@ endif HOST = $(shell $(CC) -dumpmachine) #HOST = i686-pc-mingw32 -.PHONY: all clean libs libpng libsdl libsdl_image libsdl_ttf libjpeg libtiff zlib freetype +.PHONY: all clean clean_archives clean_all libs libpng libsdl libsdl_image libsdl_ttf libjpeg libtiff zlib freetype all: libs +clean_all: clean clean_archives + clean: - $(RM) -r archives $(LIBPNG) $(ZLIB) $(SDLIMAGE) $(SDLTTF) $(JPEGDIR) $(LIBTIFF) $(FREETYPE) + $(RM) -r usr/ $(LIBPNG) $(ZLIB) $(SDLIMAGE) $(SDLTTF) $(JPEGDIR) $(LIBTIFF) $(FREETYPE) SDL-1.2.15 + +clean_archives: + $(RM) -r archives libs: libpng libsdl libsdl_image libsdl_ttf libsdl: $(PREFIX)/lib/libSDLmain.a