aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: c5e77234fd413d9766796db91be4f096897d813c (plain) (blame)
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
27
28
29
30
31
32
CFLAGS=-Wall -g
CPPFLAGS=-Wall -g


all: showsched iotest set_rt_mode  run timeout rt_launch edfhsb liblitmus.a

clean:
	rm *.o showsched iotest set_rt_mode run timeout rt_launch edfhsb liblitmus.a

iotest: iotest.o litmus.h litmus.o
	cc -static -o iotest litmus.o iotest.o

run: run.o
	cc -o run run.o

set_rt_mode: litmus.o set_rt_mode.o
	cc -o set_rt_mode litmus.o set_rt_mode.o

showsched: show_scheduler.o litmus.o litmus.h
	cc -o showsched show_scheduler.o litmus.o

timeout: litmus.o timeout.o litmus.h
	cc -static -o timeout litmus.o timeout.o

rt_launch: litmus.o litmus.h rt_launch.o
	cc -static -o rt_launch litmus.o rt_launch.o

edfhsb: litmus.o edf-hsb.o litmus.h edf-hsb.h hrt.o
	cc -o edfhsb hrt.o litmus.o edf-hsb.o

liblitmus.a: litmus.o litmus.h edf-hsb.o edf-hsb.h
	${AR} rcs liblitmus.a litmus.o edf-hsb.o