File: Makefile

package info (click to toggle)
rtlinux 3.1pre3-3
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 4,896 kB
  • ctags: 4,228
  • sloc: ansic: 26,204; sh: 2,069; makefile: 1,414; perl: 855; tcl: 489; asm: 380; cpp: 42
file content (26 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Standalone Makefile for rt_com
#
# Copyright (C) 1997-1999 Jochen Kpper


# CFLAGS		+= -c -I/usr/include/rtlinux -O2
include ../../rtl.mk
# CFLAGS		+= -DRTLINUX_V1

INSTALL 	= install -c


all:		rt_com.o

tests: testcom.o com_posix.o


install:	rt_com.o
	$(INSTALL) rt_com.o /lib/modules/`uname -r`/misc/rt_com.o


rt_com.o:	rt_com.c rt_com.h rt_comP.h
	$(CC) $(CFLAGS) -c rt_com.c

clean:
	rm -f *.o