diff options
author | Clark Williams <williams@redhat.com> | 2010-02-18 14:36:44 -0600 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2010-02-18 14:36:44 -0600 |
commit | 69ef7d4835a6d196826ac24ddeb1f86ef9602971 (patch) | |
tree | a37fb020fd2f2baac3bc3b3f72cd059507547e8f | |
parent | bd588c92b8bae59e3404fc3c90283e98c9f0a96e (diff) | |
download | rt-tests-69ef7d4835a6d196826ac24ddeb1f86ef9602971.tar.gz |
added hackbench target
added makefile targets for hackbench scheduler benchmark
Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,8 @@ VERSION_STRING = 0.66 sources = cyclictest.c signaltest.c pi_stress.c rt-migrate-test.c \ - ptsematest.c sigwaittest.c svsematest.c sendme.c pip.c + ptsematest.c sigwaittest.c svsematest.c sendme.c pip.c \ + hackbench.c TARGETS = $(sources:.c=) @@ -37,6 +38,7 @@ VPATH += src/sigwaittest: VPATH += src/svsematest: VPATH += src/backfire: VPATH += src/lib +VPATH += src/hackbench %.o: %.c $(CC) -D VERSION_STRING=$(VERSION_STRING) -c $< $(CFLAGS) @@ -85,6 +87,9 @@ sendme: sendme.o rt-utils.o rt-get_cpu.o pip: pip.o error.o rt-utils.o $(CC) $(CFLAGS) -o $@ $^ $(LIBS) +hackbench: hackbench.o + $(CC) $(CFLAGS) -o $@ $^ $(LIBS) + CLEANUP = $(TARGETS) *.o .depend *.*~ *.orig *.rej rt-tests.spec *.d CLEANUP += $(if $(wildcard .git), ChangeLog) |