From 99615e253bda3bef29f0f3808453aa7f12a76582 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Tue, 15 Jan 2013 23:43:44 -0800 Subject: [PATCH] tests: litmus: link up Makefile properly Now this builds the litmus tests properly. --- test/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index c918368..f1ea5b2 100644 --- a/test/Makefile +++ b/test/Makefile @@ -8,7 +8,10 @@ SRCS = $(wildcard *.c) CPSRCS = $(wildcard *.cc) OBJS = $(patsubst %.c,%.o,$(SRCS)) $(patsubst %.cc,%.o,$(CPSRCS)) -all: $(OBJS) +all: $(OBJS) litmus-tests + +litmus-tests:: + $(MAKE) -C litmus %.o: %.c $(CC) -o $@ $< $(CPPFLAGS) -L$(BASE) -l$(LIB_NAME) @@ -18,3 +21,4 @@ all: $(OBJS) clean:: rm -f *.o + $(MAKE) -C litmus clean -- 2.34.1