Skip to content
Snippets Groups Projects
Commit 7bffe375 authored by toole1's avatar toole1
Browse files

monad update. yays!

git-svn-id: https://subversion.cs.illinois.edu/svn/cs225@4979 6fbd10e7-183d-0410-a318-cb416676e4f2
parent 862da862
No related branches found
No related tags found
No related merge requests found
monad identification file
This file is used for monad directory identification
Built by toole1 on linux4.ews.illinois.edu
Build Date: Sun Oct 9 19:46:25 CDT 2011
Build Date: Mon Oct 10 23:58:14 CDT 2011
......@@ -14,6 +14,13 @@ $(warning Invalid value specified for OPTIMIZE. Should be on or off)
CFLAGS += -g -O0
endif
IS_LIBRT:=$(shell locate -l 1 -c librt.so)
ifeq ($(IS_LIBRT),0)
LIBRT=
else
LIBRT=-lrt
endif
all: $(EXENAME) $(IDFILE)
$(IDFILE): $(OBJS)
......@@ -23,7 +30,7 @@ $(IDFILE): $(OBJS)
'Build Date:' `date`> $(IDFILE)
$(EXENAME): $(OBJS) $(IDFILE)
$(CC) $(CFLAGS) $(OBJS) -o $@
$(CC) $(CFLAGS) $(LIBRT) $(OBJS) -o $@
help.cpp: $(wildcard *.h) README.cg LICENSE.cg
......
......@@ -19,8 +19,15 @@ ALL_TARGET = all
all: $(TESTEXE)
endif
IS_LIBRT:=$(shell locate -l 1 -c librt.so)
ifeq ($(IS_LIBRT),0)
LIBRT=
else
LIBRT=-lrt
endif
$(TESTEXE): $(TESTOBJS)
$(CC) $(TESTOBJS) -lrt -o $@
$(CC) $(LIBRT) $(TESTOBJS) -o $@
%.o : %.cpp $(wildcard *.h)
$(CC) $(CFLAGS) -c $(@:.o=.cpp) -o $@
......
No preview for this file type
......@@ -32,7 +32,7 @@ using namespace monad_shared;
namespace opts
{
bool verbose = true;
bool verbose = false;
bool redirect_test_output = true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment