From 647081dbe3bf0ee8d2539626e351311b254d206d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 28 Jul 2012 06:53:35 -0500 Subject: usb01: make Makefile follow pattern of others --- testsuite/usb01/Makefile | 9 +++++---- 1 file 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) -- cgit v1.2.3