all: rt_process.o app

# you might have to change this

# the path to the rt-linux kernel 
RTLINUX = ../../../linux
INCLUDE = ${RTLINUX}/include

CFLAGS = -O2 -Wall


app: app.c
	gcc -I${INCLUDE} ${CFLAGS} -o app app.c

rt_process.o: rt_process.c
	gcc -I${INCLUDE} ${CFLAGS} -D__KERNEL__ -D__RT__  -c rt_process.c

clean:
	rm -f app rt_process.o
