File picker works on windows
This commit is contained in:
parent
18f997632b
commit
121adcb08c
4
makefile
4
makefile
|
@ -6,7 +6,7 @@ ifeq ($(msys_version), 0)
|
|||
PKGFLAGS=$(shell pkg-config sdl2 --cflags --libs)
|
||||
BINLINKFLAGS=-z noexecstack
|
||||
else
|
||||
PKGFLAGS=$(shell pkg-config sdl2 --cflags --libs) -mwindows -mconsole
|
||||
PKGFLAGS=$(shell pkg-config sdl2 --cflags --libs) -mwindows -mconsole -lcomdlg32 -lole32
|
||||
BINLINKFLAGS=
|
||||
endif
|
||||
|
||||
|
@ -41,7 +41,7 @@ output/tinyfiledialogs.o: external/tinyfiledialogs.c
|
|||
@mkdir -p output
|
||||
@$(CC) -c -o $@ $< -I . \
|
||||
-I external \
|
||||
-O3 -flto=auto -fno-strict-aliasing \
|
||||
-O3 -flto=auto -fno-strict-aliasing -Wno-cast-function-type \
|
||||
-Werror -std=c90 -Wall -Wextra -Wpedantic
|
||||
|
||||
output/%.o: assets/%.bin
|
||||
|
|
Loading…
Reference in New Issue