Skip to content

Commit

Permalink
relaxed makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
atsb authored Jun 8, 2019
1 parent 669535d commit a2fd1c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CC = g++
CC_FLAGS = -std=c++11 -Winline -fno-elide-constructors -pipe -Wall -Wextra -Werror -pedantic-errors -Wpointer-arith -Woverloaded-virtual -Wshadow -Wmissing-declarations -fomit-frame-pointer -DNIX_LOCAL
CC_FLAGS = -std=c++11 -Winline -fno-elide-constructors -pipe -Wall -Werror -pedantic-errors -Wpointer-arith -Woverloaded-virtual -Wshadow -Wmissing-declarations -fomit-frame-pointer -DNIX_LOCAL

EXEC = freelarn
SOURCES = $(wildcard ../src/*.cpp) $(wildcard ../src/**/*.cpp)
Expand All @@ -9,9 +9,9 @@ LIBS = -lncurses
$(EXEC): $(OBJECTS)
$(CC) $(OBJECTS) -o $(EXEC) $(LIBS)
mv $(EXEC) ../bin/

%.o: %.cpp
$(CC) -c $(CC_FLAGS) $< -o $@

clean:
rm -f $(EXEC) $(OBJECTS)
2 changes: 1 addition & 1 deletion build/Makefile.mingw
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CC = g++
CC_FLAGS = -std=c++11 -Winline -fno-elide-constructors -pipe -Wall -Wextra -Werror -pedantic-errors -Wpointer-arith -Woverloaded-virtual -Wshadow -Wmissing-declarations -fomit-frame-pointer -DWINDOWS
CC_FLAGS = -std=c++11 -Winline -fno-elide-constructors -pipe -Wall -Werror -pedantic-errors -Wpointer-arith -Woverloaded-virtual -Wshadow -Wmissing-declarations -fomit-frame-pointer -DWINDOWS

EXEC = freelarn.exe
SOURCES = $(wildcard ../src/*.cpp) $(wildcard ../src/**/*.cpp)
Expand Down

0 comments on commit a2fd1c2

Please sign in to comment.