Skip to content

Commit

Permalink
Improve Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
nbougalis committed Sep 8, 2014
1 parent 6857c09 commit 05329f4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Ignore object files
*.o

# Ignore the output of the compilation
sim

# Ignore autogenerated dependencies
.dep
18 changes: 8 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@
# Distributed under the MIT/X11 software license, see the accompanying
# file license.txt or http://www.opensource.org/licenses/mit-license.php.

CXX=g++ -Wall -Wno-sign-compare -Wno-char-subscripts
DEFS =
LIBS = -pthread
DEBUGFLAGS = -DDEBUG -g
CXXFLAGS = -O0 -std=c++11 -Wall -Wno-sign-compare -Wno-char-subscripts \
-Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(DEFS)
HEADERS = Core.h

DEFS=
SRCS = Sim.cpp Util.cpp

LIBS= -pthread
DEBUGFLAGS=-DDEBUG -g
CXXFLAGS=-O0 -march=core2 -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(DEFS) -std=c++11
HEADERS = Core.h

SRCS= Sim.cpp Util.cpp

OBJS= $(SRCS:%.cpp=%.o)
OBJS = $(SRCS:%.cpp=%.o)

all: sim

Expand Down

1 comment on commit 05329f4

@sublimator
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's beautiful muriel!

Please sign in to comment.