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)
clean::
rm -f *.o
+ $(MAKE) -C litmus clean