1
0
mirror of https://github.com/aap/pdp6.git synced 2026-03-09 20:38:35 +00:00

Put GCC specific option in separate Makefile variable.

This commit is contained in:
Lars Brinkhoff
2020-02-17 18:28:48 +01:00
parent eac34e980b
commit 3ad4704113

View File

@@ -3,7 +3,8 @@ H=pdp6.h ../tools/pdp6common.h threading.h
# clang
#CFLAGS= -Wno-shift-op-parentheses -Wno-logical-op-parentheses \
# -Wno-bitwise-op-parentheses
CFLAGS= -g -O3 -Wall -Wno-parentheses -fno-diagnostics-show-caret
#GCCFLAGS=-fno-diagnostics-show-caret
CFLAGS= -g -O3 -Wall -Wno-parentheses $(GCCFLAGS)
#CFLAGS= -g -Wall -Wno-parentheses -fno-diagnostics-show-caret
SDLFLAGS=`sdl2-config --cflags` `pkg-config SDL2_image --cflags` -DGRAPHICS