Some tweaks on VSCode

Now it works on Windows for me but there are lots of hardcoded paths around... I don't like it.
This commit is contained in:
Ray 2018-11-20 19:02:26 +01:00
parent 31d0fd820d
commit 98fee844d1
4 changed files with 11 additions and 9 deletions

View file

@ -54,6 +54,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
# ifeq ($(UNAME),Msys) -> Windows
ifeq ($(OS),Windows_NT)
PLATFORM_OS=WINDOWS
export PATH := C:/raylib/mingw32/bin:$(PATH)
else
UNAMEOS=$(shell uname)
ifeq ($(UNAMEOS),Linux)
@ -291,7 +292,8 @@ OBJ_DIR = obj
# Define all object files from source files
SRC = $(call rwildcard, *.c, *.h)
OBJS = $(SRC:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)
#OBJS = $(SRC:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)
OBJS = main.c
# For Android platform we call a custom Makefile.Android
ifeq ($(PLATFORM),PLATFORM_ANDROID)