mirror of
https://github.com/makarcz/vm6502.git
synced 2025-01-13 21:32:31 +00:00
Corrected batch script and makefile
Corrected batch script and makefile for MINGW/GCC 8.1.0
This commit is contained in:
parent
174f8ce1a6
commit
4166e540db
@ -18,8 +18,8 @@ LINKOBJ = main.o VMachine.o MKCpu.o Memory.o Display.o GraphDisp.o MemMapDev.o
|
||||
LINKOBJ2 = bin2hex.o
|
||||
LIBS = -L"$(MINGWDIR)\mingw64\x86_64-w64-mingw32/lib" -L"$(MINGWDIR)\mingw64\x86_64-w64-mingw32/lib" -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic -lmingw32
|
||||
SDLLIBS = -L"$(SDLBASE)\x86_64-w64-mingw32/lib" -lSDL2main -lSDL2
|
||||
INCS = -I"$(MINGWDIR)\mingw64/include" -I"$(MINGWDIR)\mingw64\x86_64-w64-mingw32/include" -I"$(MINGWDIR)\mingw64\lib\gcc\x86_64-w64-mingw32\5.3.0/include"
|
||||
CXXINCS = -I"$(MINGWDIR)\mingw64/include" -I"$(MINGWDIR)\mingw64\x86_64-w64-mingw32/include" -I"$(MINGWDIR)\mingw64\lib\gcc\x86_64-w64-mingw32\5.3.0/include"
|
||||
INCS = -I"$(MINGWDIR)\mingw64/include" -I"$(MINGWDIR)\mingw64\x86_64-w64-mingw32/include" -I"$(MINGWDIR)\mingw64\lib\gcc\x86_64-w64-mingw32\$(GCCVER)/include"
|
||||
CXXINCS = -I"$(MINGWDIR)\mingw64/include" -I"$(MINGWDIR)\mingw64\x86_64-w64-mingw32/include" -I"$(MINGWDIR)\mingw64\lib\gcc\x86_64-w64-mingw32\$(GCCVER)/include"
|
||||
BIN = vm65.exe
|
||||
BIN2 = bin2hex.exe
|
||||
CXXFLAGS = $(CXXINCS) -std=c++11 -Wall -Wextra -pedantic -g3
|
||||
|
@ -1,5 +1,6 @@
|
||||
echo off
|
||||
set MINGWDIR=C:\mingw-w64\x86_64-8.1.0
|
||||
set GCCVER=8.1.0
|
||||
set MINGWDIR=C:\mingw-w64\x86_64-%GCCVER%
|
||||
set SDLDIR=D:\src\SDL
|
||||
set PATH=%MINGWDIR%\mingw64\bin;%SDLDIR%\lib\x64;%PATH%
|
||||
rem echo %PATH%
|
||||
|
Loading…
x
Reference in New Issue
Block a user