source: rtems-libbsd/testsuite/usb01/Makefile @ 6e77c5a

4.115-freebsd-12freebsd-9.3
Last change on this file since 6e77c5a was 6e77c5a, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 28, 2012 at 12:13:24 PM

usb01: Correct Makefile

  • Property mode set to 100644
File size: 697 bytes
Line 
1
2include ../../config.inc
3
4APP=usb01
5PGM=${ARCH}/$(APP).exe
6
7include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
8include $(RTEMS_CUSTOM)
9include $(PROJECT_ROOT)/make/leaf.cfg
10
11C_PIECES = init test-file-system
12C_O_FILES = $(C_PIECES:%=%.o)
13C_DEP_FILES = $(C_PIECES:%=%.dep)
14
15OBJS= $(C_O_FILES)
16
17DEPFLAGS = -MT $@ -MD -MP -MF $*.dep
18AM_CPPFLAGS += -I $(INSTALL_BASE)/include -I.
19CLEAN_ADDITIONS += $(APP).exe $(ARCH)/$(APP).map $(C_DEP_FILES)
20CLEAN_ADDITIONS += $(C_DEP_FILES)
21
22CFLAGS += $(DEPFLAGS) $(GCCFLAGS) $(AM_CPPFLAGS)
23CFLAGS += -Wno-unused
24CFLAGS += -Wl,-Map,$(ARCH)/$(APP).map
25
26LINK_LIBS += $(INSTALL_BASE)/libbsd.a
27
28all: $(ARCH) $(PGM)
29
30$(PGM): $(C_O_FILES)
31        $(make-exe)
32
33-include $(C_DEP_FILES)
Note: See TracBrowser for help on using the repository browser.