File: Makefile

package info (click to toggle)
rtlinux 2.0rel-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,068 kB
  • ctags: 1,178
  • sloc: ansic: 7,169; makefile: 779; sh: 89
file content (19 lines) | stat: -rw-r--r-- 407 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# (c) Victor Yodaiken 1998, Released under GPL

all: rtl_posixio.o
include rtl.mk

depend: rtl_sched.o
	$(CC) ${INCLUDE} ${CFLAGS} -M rtl_posixio.c > .depends

rtl_posixio.o: rtl_posixio.c ../include/rtl_posixio.h 
	$(CC) ${INCLUDE}  ${CFLAGS} -o rtl_posixio.o -c rtl_posixio.c
	cp -f rtl_posixio.o ../modules


install: rtl_posixio.o
	install -c -m 644 rtl_posixio.o ${RTL_DIR}/modules

clean:
	rm -f *.o