Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
799744af
Commit
799744af
authored
Nov 02, 2001
by
Ian Murdock
Browse files
Added test cases for event queue and event scheduler.
parent
dda47e93
Changes
1
Hide whitespace changes
Inline
Side-by-side
event/test/Makefile
View file @
799744af
# Makefile for building event system tests
#
# $Id: Makefile,v 1.
1
2001-11-02 0
4
:4
7:14
imurdock Exp $
# $Id: Makefile,v 1.
2
2001-11-02 0
5
:4
2:02
imurdock Exp $
CC
=
gcc
CFLAGS
=
-g
-I
.
-I
../lib
-Wall
-DDEBUG
...
...
@@ -16,16 +16,24 @@ RM = rm -f
tests
=
test-consume
\
test-produce
\
test-attr-consume
\
test-attr-produce
test-attr-produce
\
test-queue
\
test-sched
%
:
%.c
$(CC)
$(LDFLAGS)
-o
$@
$(CFLAGS)
$<
$(LIBS)
$(LIBS)
default
:
$(tests)
clean
:
$(RM)
$(tests)
$(
addsuffix
.o,
$(tests)
)
test-queue
:
../sched/queue.c
$(CC)
$(LDFLAGS)
-o
$@
$(CFLAGS)
-DTEST_EVENT_QUEUES
-I
../sched
\
$<
$(LIBS)
$(LIBS)
distclean
:
clean
test-sched
:
../sched/sched.c
$(CC)
$(LDFLAGS)
-o
$@
$(CFLAGS)
-DTEST_SCHED
-I
../sched
\
$<
../sched/queue.o
$(LIBS)
$(LIBS)
$(tests)
:
../lib/libevent.a
clean
:
$(RM)
$(tests)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment