summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Hii <roland.king.guan.hii@intel.com>2016-09-08 15:59:25 +0800
committerRoland Hii <roland.king.guan.hii@intel.com>2016-09-13 13:53:00 +0800
commit128ff4a21b9a7c6abae48da827e69c549b61f25b (patch)
tree94e0f06bd276fec2933bb29965619b570683b3ab
parent4497d99c88d144a40adf38650388d6d78e1134c3 (diff)
downloadOpen-AVB-128ff4a21b9a7c6abae48da827e69c549b61f25b.tar.gz
simple_rx: Fixed typos in Makefiles to properly clean targets
There were two typos in Makefiles which cause the commands "make simple_listener_clean" and "make simple_rx_clean" do not clean simple_listener.o object file and also simple_rx executable file. This patch fixed the typos to properly clean the generated files. Signed-off-by: Roland Hii <roland.king.guan.hii@intel.com>
-rw-r--r--Makefile2
-rw-r--r--examples/simple_rx/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2cfe159b..32308b6f 100644
--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,7 @@ simple_listener:
$(call descend,examples/$@)
simple_listener_clean:
- $(call descend,examples/simple_rx/,clean)
+ $(call descend,examples/simple_listener/,clean)
simple_rx:
$(MAKE) lib
diff --git a/examples/simple_rx/Makefile b/examples/simple_rx/Makefile
index 7ca14365..bf83a484 100644
--- a/examples/simple_rx/Makefile
+++ b/examples/simple_rx/Makefile
@@ -23,5 +23,5 @@ $(IGBDIR)/igb.o: $(IGBDIR)/igb.c
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
clean:
- $(RM) simple_listener
+ $(RM) simple_rx
$(RM) `find . -name "*~" -o -name "*.[oa]" -o -name "\#*\#" -o -name TAGS -o -name core -o -name "*.orig"`