Skip to content

Commit

Permalink
added flags for when compiling for Chocolatey
Browse files Browse the repository at this point in the history
  • Loading branch information
n-ham committed Aug 17, 2019
1 parent 8b10dfa commit 4506de2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -3,6 +3,8 @@ objects=nsm.o DateTimeInfo.o Directory.o Filename.o PageBuilder.o PageInfo.o Pat
cppfiles=nsm.cpp DateTimeInfo.cpp Directory.cpp Filename.cpp PageBuilder.cpp PageInfo.cpp Path.cpp Quoted.cpp SiteInfo.cpp Title.cpp
CC=g++
CXXFLAGS=-std=c++11 -Wall -Wextra -pedantic
#Flags to use when compiling for Chocolatey
#CXXFLAGS=-std=c++11 -Wall -Wextra -pedantic -static -static-libgcc -static-libstdc++

nsm: $(objects)
$(CC) $(CXXFLAGS) $(cppfiles) -o nsm
Expand Down

0 comments on commit 4506de2

Please sign in to comment.