mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-22 07:18:52 -05:00
Define for windows
This commit is contained in:
parent
c94b7921fb
commit
912c174b67
@ -11,9 +11,10 @@ endif
|
|||||||
|
|
||||||
ifeq ($(shell uname -o), Msys)
|
ifeq ($(shell uname -o), Msys)
|
||||||
COMPAT_OBJS=sleep.o memmem.o strcasestr.o
|
COMPAT_OBJS=sleep.o memmem.o strcasestr.o
|
||||||
|
PLATFORM_CFLAGS=-DWINDOWS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS=-Wall -g `pkg-config $(HIDAPI_NAME) --cflags` --std=c99
|
CFLAGS=-Wall -g `pkg-config $(HIDAPI_NAME) --cflags` --std=c99 $(PLATFORM_CFLAGS)
|
||||||
LDFLAGS=`pkg-config $(HIDAPI_NAME) --libs` -g
|
LDFLAGS=`pkg-config $(HIDAPI_NAME) --libs` -g
|
||||||
GTK_CFLAGS=`pkg-config --cflags gtk+-3.0 gmodule-2.0`
|
GTK_CFLAGS=`pkg-config --cflags gtk+-3.0 gmodule-2.0`
|
||||||
GTK_LDFLAGS=`pkg-config --libs gtk+-3.0 gmodule-2.0`
|
GTK_LDFLAGS=`pkg-config --libs gtk+-3.0 gmodule-2.0`
|
||||||
|
Loading…
Reference in New Issue
Block a user