diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-02-06 19:31:18 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-03-26 13:29:03 +0200 |
commit | e7e19b15c75dca9eddd5d41eb105853c29ea55fd (patch) | |
tree | 6864cabf57dacd21234b5b5433b825ca294f1dd1 /library.mak | |
parent | 6a7c5312d8caafc6b81803fdddfd7050e88d55f7 (diff) | |
download | ffmpeg-e7e19b15c75dca9eddd5d41eb105853c29ea55fd.tar.gz |
build: Only clean the architecture subdirectory we build for.
This allows simplifying the Makefiles; it is no longer necessary to register
arch subdirectory Makefiles, just putting them in place is enough.
Diffstat (limited to 'library.mak')
-rw-r--r-- | library.mak | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/library.mak b/library.mak index f50e8e59ee..6159799c5d 100644 --- a/library.mak +++ b/library.mak @@ -47,12 +47,10 @@ $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS) $(SUBDIR)lib$(NAME).ver $(DEP_LIBS) clean:: $(RM) $(addprefix $(SUBDIR),*-example$(EXESUF) *-test$(EXESUF) $(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES)) \ - $(foreach dir,$(DIRS),$(CLEANSUFFIXES:%=$(SUBDIR)$(dir)/%)) \ - $(HOSTOBJS) $(HOSTPROGS) + $(CLEANSUFFIXES:%=$(SUBDIR)$(ARCH)/%) $(HOSTOBJS) $(HOSTPROGS) distclean:: clean - $(RM) $(DISTCLEANSUFFIXES:%=$(SUBDIR)%) \ - $(foreach dir,$(DIRS),$(DISTCLEANSUFFIXES:%=$(SUBDIR)$(dir)/%)) + $(RM) $(DISTCLEANSUFFIXES:%=$(SUBDIR)%) $(DISTCLEANSUFFIXES:%=$(SUBDIR)$(ARCH)/%) install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME) $(Q)mkdir -p "$(SHLIBDIR)" |