minor cleanup

This commit is contained in:
Egan Ford 2016-01-04 16:56:44 -07:00
parent dd10e6ce06
commit 6028a9d287
6 changed files with 11 additions and 18 deletions

View File

@ -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

View File

@ -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
View File

@ -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))

View File

@ -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.

Binary file not shown.