From 2b6a6414c9bcf897e3df131de6c9384d304f33ca Mon Sep 17 00:00:00 2001 From: Kaens Date: Thu, 30 Jun 2022 18:04:13 +0900 Subject: [PATCH] Removed an absolute path This way it'll build with mingw and cygwin without much customisation. Tested on MSYS mingw64. --- Makefile.mingw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.mingw b/Makefile.mingw index a6e615c..acca7d3 100644 --- a/Makefile.mingw +++ b/Makefile.mingw @@ -1,7 +1,7 @@ OUTPUT=prototracker-opll.exe $(OUTPUT): $(CPP_SRC) $(CPP_H) $(C_OBJ) - g++ -DSCALE=2 -O3 -Wformat -std=c++11 -o $@ $(CPP_SRC) $(C_OBJ) -lmingw32 -lSDL2_image -lSDL2main -lSDL2 -Ic:/mingw/include/SDL2 -Ic:/tdm-gcc-32/include/SDL2 -s -DENABLE_AUDIO_QUEUE=1 + g++ -DSCALE=2 -O3 -Wformat -std=c++11 -o $@ $(CPP_SRC) $(C_OBJ) -lmingw32 -lSDL2_image -lSDL2main -lSDL2 -I${MINGW_PREFIX}/include/SDL2 -Ic:/tdm-gcc-32/include/SDL2 -s -DENABLE_AUDIO_QUEUE=1 $(C_OBJ): $(C_SRC) $(C_H) gcc -c -o $@ $(C_SRC) -O3 -Wall -std=gnu99