sim: highlight for instr
[calu.git] / 3b_sim / Makefile.flags
1 #tilab is centos, and centos@tilab is special
2 OSTYPE = $(shell lsb_release -i -s | tr -d "\n")
3
4 ifeq ("$(OSTYPE)", "CentOS")
5 CC := g++44
6 CPPPROGOPT :=-rdynamic -ldl -lboost_program_options-gcc41-mt-1_37 -lboost_regex-gcc41-mt-1_37 -lreadline -lcurses
7 else
8 CC := g++
9 CPPPROGOPT :=-rdynamic -ldl -lboost_program_options -lboost_regex -lreadline
10 endif
11
12 CPPFLAGS := -g3 -O2 -std=c++0x -Wnon-virtual-dtor -Weffc++ -pedantic -Werror -Wall -Wextra -W -Wshadow -fno-common -pedantic-errors -Wpointer-arith -Wcast-qual -Wcast-align -Woverloaded-virtual -Wswitch-default -Wempty-body -Wlogical-op
13 CPPLIBOPT :=-shared