source: rtems-libbsd/testsuite/usb01/Makefile @ 647081d

4.115-freebsd-12freebsd-9.3
Last change on this file since 647081d was 647081d, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 28, 2012 at 11:53:35 AM

usb01: make Makefile follow pattern of others

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