mirror of
https://github.com/pfusik/zlib6502.git
synced 2025-02-05 12:33:02 +00:00
Makefile.
This commit is contained in:
parent
ca04480869
commit
15c46f525e
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
inflate.obx
|
||||||
|
gzip2deflate
|
||||||
|
zip2deflate
|
||||||
|
*.exe
|
||||||
|
2deflate.zip
|
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
all: inflate.obx gzip2deflate zip2deflate
|
||||||
|
|
||||||
|
inflate.obx: inflate.asx
|
||||||
|
xasm -d inflate=\$$b700 -d inflate_data=\$$b900 -d inflate_zp=\$$f0 inflate.asx
|
||||||
|
|
||||||
|
%: %.c
|
||||||
|
gcc -s -O2 -Wall -o $@ $<
|
||||||
|
|
||||||
|
2deflate.zip: gzip2deflate zip2deflate
|
||||||
|
rm -f $@ && 7z a -mx=9 -tzip $@ gzip2deflate.exe zip2deflate.exe
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f inflate.obx gzip2deflate zip2deflate 2deflate.zip gzip2deflate.exe zip2deflate.exe
|
||||||
|
|
||||||
|
.PHONY: all clean
|
||||||
|
|
||||||
|
.DELETE_ON_ERROR:
|
Loading…
x
Reference in New Issue
Block a user