Skip to content

Commit

Permalink
merge changes from trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
razzfazz committed Nov 26, 2013
2 parents 5ed347a + 09494b3 commit e1930b8
Show file tree
Hide file tree
Showing 16 changed files with 195 additions and 965 deletions.
11 changes: 11 additions & 0 deletions doc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
all:
pdflatex manual.tex
pdflatex manual.tex
pdflatex manual.tex
clean:
rm -f manual.pdf
rm -f manual.aux
rm -f manual.dvi
rm -f manual.log
rm -f manual.toc
rm -f *~
206 changes: 122 additions & 84 deletions doc/manual.tex

Large diffs are not rendered by default.

20 changes: 4 additions & 16 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@
#
# Makefile
#
MOC = /usr/lib/qt4/bin/moc
LEX = flex
YACC = bison -y
DEFINE =
DEFINE_TEST = -DUSE_GUI
INCPATH = -I. -Iarbiters -Iallocators -Irouters -Inetworks -Ipower
CPPFLAGS += -Wall $(INCPATH) $(DEFINE)
#CPPFLAGS += -O3
CPPFLAGS += -O3
CPPFLAGS += -g
LFLAGS +=
LFLAGS +=


OBJDIR := obj
Expand Down Expand Up @@ -70,14 +69,7 @@ CPP_SRCS = main.cpp \
buffer_monitor.cpp \
workload.cpp

ifeq ($(DEFINE) , $(DEFINE_TEST))
CPP_SRCS += \
bgui.cpp\
moc_bgui.cpp
LFLAGS += -lQtGui -lQtCore -lpthread
INCPATH += -I/usr/include/QtCore -I/usr/include/QtGui
else
endif


LEX_OBJS = ${OBJDIR}/lex.yy.o
YACC_OBJS = ${OBJDIR}/y.tab.o
Expand Down Expand Up @@ -108,10 +100,6 @@ $(PROG): $(OBJS)

# rules to compile simulator

moc_bgui.cpp: booksim_config.hpp \
config_utils.hpp \
bgui.hpp
$(MOC) $(INCPATH) bgui.hpp -o moc_bgui.cpp

${LEX_OBJS}: lex.yy.c y.tab.h
$(CC) $(CPPFLAGS) -c $< -o $@
Expand Down
Loading

0 comments on commit e1930b8

Please sign in to comment.