cosmetic highlight of SDL in Makefile
This commit is contained in:
parent
0c69a47dd2
commit
c3e4ddc776
1 changed files with 7 additions and 4 deletions
11
Makefile
11
Makefile
|
@ -13,9 +13,6 @@ OPTIM ?= 2
|
|||
CFLAGS = -g -O$(OPTIM) -I./src/ -D_GNU_SOURCE=1 -DVERSION_MAJOR=$(VERSION_MAJOR) -DVERSION_MINOR=$(VERSION_MINOR) -DPATCHLEVEL=$(PATCHLEVEL)
|
||||
LIBS = -lm
|
||||
|
||||
CFLAGS += $(shell pkg-config --cflags SDL_gfx sdl12_compat)
|
||||
LIBS += $(shell pkg-config --libs SDL_gfx sdl12_compat)
|
||||
|
||||
FULL_WARNINGS = no
|
||||
ifeq ($(FULL_WARNINGS), yes)
|
||||
CFLAGS += -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wno-unused-function -Wconversion -Wdouble-promotion -Wno-sign-conversion -fsanitize=undefined -fsanitize-trap
|
||||
|
@ -30,9 +27,15 @@ DOTOS = src/emu_serial.o \
|
|||
src/emu_timer.o \
|
||||
src/runtime_options.o \
|
||||
src/romio.o \
|
||||
src/ui_sdl.o \
|
||||
src/main.o
|
||||
|
||||
### SDL1.2 UI
|
||||
DOTOS += src/ui_sdl.o
|
||||
|
||||
CFLAGS += $(shell pkg-config --cflags SDL_gfx sdl12_compat)
|
||||
LIBS += $(shell pkg-config --libs SDL_gfx sdl12_compat)
|
||||
### /SDL1.2 UI
|
||||
|
||||
### debugger
|
||||
DOTOS += src/debugger.o \
|
||||
src/debugger_disasm.o \
|
||||
|
|
Loading…
Reference in a new issue