From 25a2b2d5d3ca28a04fbc1f31675ed3f5f1db3c4d Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 28 Feb 2019 19:46:33 +1100 Subject: [PATCH] [c-host] fix makefile for linux builds --- c-host/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c-host/Makefile b/c-host/Makefile index 885bbba0..0799f5bf 100644 --- a/c-host/Makefile +++ b/c-host/Makefile @@ -1,7 +1,5 @@ USE_DXGI ?= 1 -CC=gcc.exe - OUTPUT = looking-glass-host EXT = @@ -14,6 +12,7 @@ OBJS = app.o # if windows ifdef OS + CC = gcc.exe LDFLAGS = -L./windows/dll LIBS += -lsetupapi OBJS += windows/platform.o @@ -28,6 +27,7 @@ ifdef OS OBJS += windows/capture/dxgi.o endif else + CC = gcc OBJS += linux/platform.o endif