Skip to content

Commit

Permalink
Enable shadowing warnings and remove Windows-specific clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
elnormous committed Jul 11, 2021
1 parent 72d67dc commit 3ac0d81
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ else ifeq ($(shell uname -s),Haiku)
platform=haiku
endif

CXXFLAGS=-std=c++11 -Wall -O2 -I../include
CXXFLAGS=-std=c++11 -Wall -Wshadow -O2 -I../include
LDFLAGS=-O2
ifeq ($(platform),windows)
LDFLAGS+=-lws2_32
Expand Down Expand Up @@ -38,8 +38,4 @@ $(EXECUTABLE): $(OBJECTS)

.PHONY: clean
clean:
ifeq ($(platform),windows)
-del /f /q "$(EXECUTABLE).exe" "*.o"
else
$(RM) $(EXECUTABLE) $(OBJECTS) $(DEPENDENCIES) $(EXECUTABLE).exe
endif
$(RM) $(EXECUTABLE) $(OBJECTS) $(DEPENDENCIES) $(EXECUTABLE).exe

0 comments on commit 3ac0d81

Please sign in to comment.