mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +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 += -g -O0
|
||||
CFLAGS += -DCOBJMACROS
|
||||
CFLAGS += -DINITGUID
|
||||
CFLAGS += -I.
|
||||
CFLAGS += -I../common
|
||||
|
||||
@ -17,9 +15,8 @@ ifdef OS
|
||||
OBJS += windebug.o
|
||||
|
||||
ifeq ($(USE_DXGI), 1)
|
||||
CFLAGS += -DUSE_DXGI
|
||||
LIBS += -ld3d11
|
||||
LIBS += -ldxgi
|
||||
CFLAGS += -DUSE_DXGI -DCOBJMACROS -DINITGUID
|
||||
LIBS += -ld3d11 -ldxgi
|
||||
DLLS += dll/libd3d11.a
|
||||
OBJS += capture/dxgi.o
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user