[rtems-libbsd commit] usb01: make Makefile follow pattern of others

Joel Sherrill joel at rtems.org
Fri Aug 3 13:36:47 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    647081dbe3bf0ee8d2539626e351311b254d206d
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=647081dbe3bf0ee8d2539626e351311b254d206d

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sat Jul 28 06:53:35 2012 -0500

usb01: make Makefile follow pattern of others

---

 testsuite/usb01/Makefile |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/testsuite/usb01/Makefile b/testsuite/usb01/Makefile
index 8adf9c9..4014551 100644
--- a/testsuite/usb01/Makefile
+++ b/testsuite/usb01/Makefile
@@ -1,7 +1,7 @@
 
 include ../../config.inc
 
-APP = usb01
+PGM=${ARCH}/usb01.exe
 
 include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
 include $(RTEMS_CUSTOM)
@@ -15,15 +15,16 @@ OBJS= $(C_O_FILES)
 
 DEPFLAGS = -MT $@ -MD -MP -MF $*.dep
 AM_CPPFLAGS += -I $(INSTALL_BASE)/include -I.
-CLEAN_ADDITIONS += $(APP).exe $(APP).map $(C_DEP_FILES)
+#CLEAN_ADDITIONS += $(APP).exe $(APP).map $(C_DEP_FILES)
+CLEAN_ADDITIONS += $(C_DEP_FILES)
 
 CFLAGS += $(DEPFLAGS) $(GCCFLAGS) $(AM_CPPFLAGS) -Wno-unused -Wl,-Map,$(APP).map
 
 LINK_LIBS += $(INSTALL_BASE)/libbsd.a
 
-all: $(APP).exe
+all: $(ARCH) $(PGM)
 
-$(APP).exe: $(C_O_FILES)
+$(PGM): $(C_O_FILES)
 	$(make-exe)
 
 -include $(C_DEP_FILES)




More information about the vc mailing list