Last change
on this file since 0ecf946 was
e38d987,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/18/11 at 13:19:33
|
2011-03-18 Joel Sherrill <joel.sherrill@…>
- ChangeLog?, Makefile, commands/Makefile, commands/main_multiio_adc.c,
commands/main_multiio_benchmark.c, commands/main_multiio_dac.c,
commands/main_multiio_din.c, commands/main_multiio_dout.c,
commands/main_multiio_irq.c, commands/multiio_commands.h,
include/multiio.h, stub/multio_stub.c: New files.
|
-
Property mode set to
100644
|
File size:
751 bytes
|
Line | |
---|
1 | # |
---|
2 | # Example Library Makefile |
---|
3 | # |
---|
4 | |
---|
5 | # |
---|
6 | # RTEMS_MAKEFILE_PATH is typically set in an environment variable |
---|
7 | # |
---|
8 | |
---|
9 | VPATH=.:../stub |
---|
10 | LIB=${ARCH}/libmiocmds.a |
---|
11 | |
---|
12 | # C source names |
---|
13 | CSRCS = main_multiio_adc.c main_multiio_dac.c main_multiio_dout.c \ |
---|
14 | main_multiio_din.c main_multiio_benchmark.c main_multiio_irq.c |
---|
15 | COBJS = $(CSRCS:%.c=${ARCH}/%.o) |
---|
16 | |
---|
17 | # EXTERNAL_H_FILES=userLib.h |
---|
18 | |
---|
19 | include $(RTEMS_MAKEFILE_PATH)/Makefile.inc |
---|
20 | include $(RTEMS_CUSTOM) |
---|
21 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
22 | |
---|
23 | CLEAN_ADDITIONS += $(LIB) |
---|
24 | |
---|
25 | DEFINES += -I ../include |
---|
26 | |
---|
27 | OBJS= $(COBJS) |
---|
28 | |
---|
29 | all: ${ARCH} $(LIB) |
---|
30 | |
---|
31 | $(LIB): $(OBJS) |
---|
32 | $(AR) crv $(LIB) $(OBJS) |
---|
33 | |
---|
34 | #install: all |
---|
35 | # $(INSTALL_VARIANT) -m 555 ${LIB} ${PROJECT_RELEASE}/lib |
---|
36 | # $(INSTALL_VARIANT) -m 555 ${EXTERNAL_H_FILES} ${PROJECT_RELEASE}/include |
---|
Note: See
TracBrowser
for help on using the repository browser.