patch to c2t-96h to default to -8 for no opt on .dsk/.po, added windows cross makefile

This commit is contained in:
Egan Ford 2016-01-04 16:43:31 -07:00
parent 542686ab6e
commit dd10e6ce06
5 changed files with 28 additions and 0 deletions

BIN
c2t-96h

Binary file not shown.

View File

@ -465,6 +465,7 @@ int main(int argc, char **argv)
if(dsk) {
fast=autoload=cd=tape=0;
k8=1;
model=2;
if(numseg != 5) {

27
windows/Makefile Normal file
View File

@ -0,0 +1,27 @@
CC = /usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc
all: c2t.exe c2t-96h.exe
clean:
rm -f c2t.exe c2t-96h.exe c2t.c c2t-96h.c c2t.h fake6502.h
c2t.exe: c2t.c c2t.h fake6502.h miniz.h
$(CC) -Wall -Wno-unused-value -Wno-unused-function -O3 -o c2t.exe c2t.c
c2t-96h.exe: c2t-96h.c c2t.h fake6502.h miniz.h
$(CC) -Wall -Wno-unused-value -Wno-unused-function -O3 -o c2t-96h.exe c2t-96h.c
c2t.c: ../c2t.c
cp ../c2t.c .
c2t-96h.c: ../c2t-96h.c
cp ../c2t-96h.c .
c2t.h: ../c2t.h
cp ../c2t.h .
fake6502.h: ../fake6502.h
cp ../fake6502.h .

Binary file not shown.

Binary file not shown.