source: multiio/pcmmio/original/Makefile @ da59d43

Last change on this file since da59d43 was c99627b, checked in by Joel Sherrill <joel.sherrill@…>, on 06/08/09 at 19:09:54

2009-06-08 Joel Sherrill <joel.sherrill@…>

  • Makefile, flash.c, mio_io.h: All programs now compile with the copied RTEMS specific porting layer file.
  • .cvsignore, mio_io_rtems.c: New files.
  • Property mode set to 100644
File size: 735 bytes
Line 
1#
2#  $Id$
3#
4
5RTEMS_MAKEFILE_PATH=/home/joel/rtems-4.10-work/bsp-install/i386-rtems4.10/pc386/
6#
7#  RTEMS_MAKEFILE_PATH is typically set in an environment variable
8#
9
10MAINS= buffered.c dacbuff.c dacout.c flash.c getall.c getvolt.c poll.c repeat.c
11
12PGMS=$(MAINS:%.c=${ARCH}/%.exe)
13
14# optional managers required
15MANAGERS=all
16
17# C source names
18SHARED_CSRCS = rtems_config.c mio_io.c kbhit.c
19#SHARED_CSRCS += mio_io_linux.c
20SHARED_CSRCS += mio_io_rtems.c
21
22SHARED_COBJS = $(SHARED_CSRCS:%.c=${ARCH}/%.o)
23
24include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
25include $(RTEMS_CUSTOM)
26include $(PROJECT_ROOT)/make/leaf.cfg
27
28OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)
29
30all:    ${ARCH} $(SHARED_COBJS) $(PGMS)
31
32${ARCH}/%.exe: %.c
33        $(CC) -o $@ $< $(SHARED_COBJS)
Note: See TracBrowser for help on using the repository browser.