aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn M. Calandrino <jmc@jupiter-cs.cs.unc.edu>2007-04-25 10:59:50 -0400
committerJohn M. Calandrino <jmc@jupiter-cs.cs.unc.edu>2007-04-25 10:59:50 -0400
commit90efec151bdff27b51a32e8224beccb8eaa0e342 (patch)
tree45e307cf435e8044b14fc54069933e4281b87337 /Makefile
parent08460431b461271ca48a9c65c66f18adb87749aa (diff)
Modified Makefile so that liblitmus.a library is created, for use by other
user-level programs that need a litmus interface.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5157fdf..c5e7723 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,10 @@ CFLAGS=-Wall -g
2CPPFLAGS=-Wall -g 2CPPFLAGS=-Wall -g
3 3
4 4
5all: showsched iotest set_rt_mode run timeout rt_launch edfhsb 5all: showsched iotest set_rt_mode run timeout rt_launch edfhsb liblitmus.a
6 6
7clean:
8 rm *.o showsched iotest set_rt_mode run timeout rt_launch edfhsb liblitmus.a
7 9
8iotest: iotest.o litmus.h litmus.o 10iotest: iotest.o litmus.h litmus.o
9 cc -static -o iotest litmus.o iotest.o 11 cc -static -o iotest litmus.o iotest.o
@@ -26,3 +28,5 @@ rt_launch: litmus.o litmus.h rt_launch.o
26edfhsb: litmus.o edf-hsb.o litmus.h edf-hsb.h hrt.o 28edfhsb: litmus.o edf-hsb.o litmus.h edf-hsb.h hrt.o
27 cc -o edfhsb hrt.o litmus.o edf-hsb.o 29 cc -o edfhsb hrt.o litmus.o edf-hsb.o
28 30
31liblitmus.a: litmus.o litmus.h edf-hsb.o edf-hsb.h
32 ${AR} rcs liblitmus.a litmus.o edf-hsb.o