source: multiio/rtd6425/Makefile @ d35032f

Last change on this file since d35032f was d35032f, checked in by Joel Sherrill <joel.sherrill@…>, on 10/05/11 at 18:09:53

2011-10-05 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, ChangeLog?, Makefile, multiio_rtd6425.c, rtd6425.c, rtd6425.h: New files.
  • Property mode set to 100644
File size: 651 bytes
Line 
1#
2#  Example Library Makefile
3#
4
5#
6#  RTEMS_MAKEFILE_PATH is typically set in an environment variable
7#
8
9VPATH=.:../stub
10LIB=${ARCH}/librtd6425.a
11
12# C source names
13CSRCS = multiio_rtd6425.c rtd6425.c
14COBJS = $(CSRCS:%.c=${ARCH}/%.o)
15
16EXTERNAL_H_FILES= rtd6425.h
17
18include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
19include $(RTEMS_CUSTOM)
20include $(PROJECT_ROOT)/make/leaf.cfg
21
22CLEAN_ADDITIONS += $(LIB)
23
24DEFINES += -I ../include
25
26OBJS= $(COBJS)
27
28all:    ${ARCH} $(LIB)
29
30$(LIB): $(OBJS)
31        $(AR) crv $(LIB) $(OBJS)
32
33install: all
34        $(INSTALL_VARIANT) -m 555 ${LIB} ${PROJECT_RELEASE}/lib
35        $(INSTALL_VARIANT) -m 555 ${EXTERNAL_H_FILES} ${PROJECT_RELEASE}/include
36
Note: See TracBrowser for help on using the repository browser.