Added -Wall to Makefiles

master
Armando Rivera 11 years ago
parent 2315c249d5
commit 8a4e175e25
  1. 2
      SDL2/pong/Makefile
  2. 11
      sdl_test/Makefile
  3. 2
      wx/help/Makefile

@ -4,7 +4,7 @@ CC = g++
LDFLAGS = $(shell sdl2-config --libs --cflags) -ldl
pong:
$(CC) -Wno-unused $@.cpp $(LDFLAGS) -o $@
$(CC) -Wall $@.cpp $(LDFLAGS) -o $@
clean:
@rm -f pong

@ -0,0 +1,11 @@
all:test
CC = g++
LDFLAGS = $(shell sdl-config --libs --cflags) -ldl
test:
$(CC) -Wall $@.cpp $(LDFLAGS) -o $@
clean:
@rm -f pong

@ -5,7 +5,7 @@ LDFLAGS = $(shell wx-config --libs --cflags) -ldl
PLATFORM := $(shell uname -s)
help:
$(CC) $@.cpp $(LDFLAGS) -o $@
$(CC) -Wall $@.cpp $(LDFLAGS) -o $@
clean:
@$(RM) -f help

Loading…
Cancel
Save