Commit 21cc0e5f authored by Vaibhav Gupta's avatar Vaibhav Gupta

Makefiles: Add missing targets

Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
parent 22a56012
......@@ -83,7 +83,7 @@ ifeq ($(KEEP_TEMP), n)
@rm -f $(RPM_SPEC)
endif
clean:
clean cleanall:
@rm -rf $(BUILD) $(SOURCES) *.tar.gz $(RPM_SPEC)
.PHONY: sources sources-tar sources-build
......
......@@ -17,4 +17,8 @@ all: modules
clean modules help modules_install coccicheck:
make -C $(KERNELSRC) M=$(shell pwd) $@
cleanall: clean
install: modules_install
.PHONY: all modules clean help install modules_install
......@@ -31,7 +31,7 @@ $(TOOLS): $(COMMON_SRCS:.c=.o) $(LIB)/libfmc.a
$(LIB)/libfmc.a:
@$(MAKE) -C $(shell dirname $@)
clean:
clean cleanall:
@$(MAKE) -C $(LIB) $@
rm -f $(TOOLS)
......
......@@ -38,7 +38,7 @@ $(LIB): $(LOBJ)
$(LIBS_XYZ): $(LIB)
$(CC) -shared -o $@ -Wl,--whole-archive,-soname,$@ $^ -Wl,--no-whole-archive
clean:
clean cleanall:
rm -f $(LIB) $(LIBS_XYZ) .depend *.o *~
.depend: Makefile $(wildcard *.c *.h ../*.h)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment