mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 07:17:23 +00:00
[c-host] only include windows defines when building on windows
This commit is contained in:
parent
c99f4e31c5
commit
f9020659e6
@ -4,8 +4,6 @@ CC=gcc.exe
|
|||||||
|
|
||||||
CFLAGS = -std=gnu99 -Wall -Werror
|
CFLAGS = -std=gnu99 -Wall -Werror
|
||||||
CFLAGS += -g -O0
|
CFLAGS += -g -O0
|
||||||
CFLAGS += -DCOBJMACROS
|
|
||||||
CFLAGS += -DINITGUID
|
|
||||||
CFLAGS += -I.
|
CFLAGS += -I.
|
||||||
CFLAGS += -I../common
|
CFLAGS += -I../common
|
||||||
|
|
||||||
@ -17,9 +15,8 @@ ifdef OS
|
|||||||
OBJS += windebug.o
|
OBJS += windebug.o
|
||||||
|
|
||||||
ifeq ($(USE_DXGI), 1)
|
ifeq ($(USE_DXGI), 1)
|
||||||
CFLAGS += -DUSE_DXGI
|
CFLAGS += -DUSE_DXGI -DCOBJMACROS -DINITGUID
|
||||||
LIBS += -ld3d11
|
LIBS += -ld3d11 -ldxgi
|
||||||
LIBS += -ldxgi
|
|
||||||
DLLS += dll/libd3d11.a
|
DLLS += dll/libd3d11.a
|
||||||
OBJS += capture/dxgi.o
|
OBJS += capture/dxgi.o
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user