From e6b13a5718418a4a4199235181dbbc18d290a085 Mon Sep 17 00:00:00 2001 From: skamkar Date: Thu, 2 Jul 2009 01:29:48 +0000 Subject: [PATCH] Don't depend on local path/lib settings for easier compilation --- armsrc/Makefile | 1 + winsrc/Makefile | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/armsrc/Makefile b/armsrc/Makefile index 574e4f08..b7b4d710 100644 --- a/armsrc/Makefile +++ b/armsrc/Makefile @@ -1,3 +1,4 @@ +PATH=..\..\devkitARM\bin;%PATH% CC = arm-elf-gcc AS = arm-elf-as LD = arm-elf-ld diff --git a/winsrc/Makefile b/winsrc/Makefile index b398c2c1..637fa319 100644 --- a/winsrc/Makefile +++ b/winsrc/Makefile @@ -1,8 +1,10 @@ BASE_DEFS = /D_WIN32_WINNT=0x501 /DISOLATION_AWARE_ENABLED /D_WIN32_IE=0x600 /DWIN32_LEAN_AND_MEAN /DWIN32 /D_MT /D_CRT_SECURE_NO_WARNINGS BASE_CFLAGS = /W3 /nologo +LIB=..\..\devkitWIN\lib;%LIB% + DEFINES = $(BASE_DEFS) -CFLAGS = $(BASE_CFLAGS) /Zi /MT +CFLAGS = $(BASE_CFLAGS) /I..\..\devkitWIN/include /Zi /MT OBJDIR = obj -- 2.39.5