mirror of
https://github.com/Michaelangel007/c2t.git
synced 2024-12-27 10:30:46 +00:00
minor cleanup
This commit is contained in:
parent
dd10e6ce06
commit
6028a9d287
4
Makefile
4
Makefile
@ -7,10 +7,10 @@ clean:
|
||||
cd asm; make clean
|
||||
|
||||
c2t: c2t.c c2t.h
|
||||
gcc -Wall -Wno-unused-value -Wno-unused-function -O3 -o c2t c2t.c
|
||||
gcc -Wall -Wno-unused-value -Wno-unused-function -I. -O3 -o c2t c2t.c
|
||||
|
||||
c2t-96h: c2t-96h.c c2t.h
|
||||
gcc -Wall -Wno-unused-value -Wno-unused-function -O3 -o c2t-96h c2t-96h.c
|
||||
gcc -Wall -Wno-unused-value -Wno-unused-function -I. -O3 -o c2t-96h c2t-96h.c
|
||||
|
||||
c2t.h: mon/dos33.boot1.mon mon/dos33.boot2.mon asm/autoload.s asm/diskload2.s asm/diskload3.s asm/diskload8000.s asm/diskload9600.s asm/fastload8000.s asm/fastload9600.s asm/fastloadcd.s asm/inflate.s
|
||||
./makeheader
|
||||
|
@ -70,14 +70,14 @@ Bugs:
|
||||
*/
|
||||
|
||||
#include "miniz.h"
|
||||
#include "fake6502.h"
|
||||
#include <fake6502.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include "c2t.h"
|
||||
#include <c2t.h>
|
||||
|
||||
#define ABS(x) (((x) < 0) ? -(x) : (x))
|
||||
|
||||
|
4
c2t.c
4
c2t.c
@ -70,14 +70,14 @@ Bugs:
|
||||
*/
|
||||
|
||||
#include "miniz.h"
|
||||
#include "fake6502.h"
|
||||
#include <fake6502.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include "c2t.h"
|
||||
#include <c2t.h>
|
||||
|
||||
#define ABS(x) (((x) < 0) ? -(x) : (x))
|
||||
|
||||
|
@ -5,23 +5,16 @@ 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
|
||||
rm -f c2t.exe c2t-96h.exe c2t.c c2t-96h.c
|
||||
|
||||
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.exe: c2t.c ../c2t.h ../fake6502.h miniz.h
|
||||
$(CC) -Wall -Wno-unused-value -Wno-unused-function -O3 -I.. -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-96h.exe: c2t-96h.c ../c2t.h ../fake6502.h miniz.h
|
||||
$(CC) -Wall -Wno-unused-value -Wno-unused-function -O3 -I.. -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.
BIN
windows/c2t.exe
BIN
windows/c2t.exe
Binary file not shown.
Loading…
Reference in New Issue
Block a user