c2t/windows/Makefile
2016-01-04 16:56:44 -07:00

21 lines
499 B
Makefile

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