summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-28 06:53:35 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-28 06:53:35 -0500
commit647081dbe3bf0ee8d2539626e351311b254d206d (patch)
tree1f058a64ebc30efb1c9c906bb5cea578d3c85009
parentd32a9cf7c51b7be1071e954976ddfae4b9afa43d (diff)
downloadrtems-libbsd-647081dbe3bf0ee8d2539626e351311b254d206d.tar.bz2
usb01: make Makefile follow pattern of others
-rw-r--r--testsuite/usb01/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuite/usb01/Makefile b/testsuite/usb01/Makefile
index 8adf9c90..40145517 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)