Skip to content

Commit ce84c81

Browse files
committed
move chr generate script outside the makefile
1 parent 6420c8c commit ce84c81

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

generate_chr.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python3 src/chr/donut.py src/chr/uncompressed/ src/chr/dnt -f

generate_chr.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python3 src/chr/donut.py src/chr/uncompressed/ src/chr/dnt -f

makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ endif
7979

8080

8181
# optimize for code size (the ideal method)
82-
build: CHR $(TMPDIR) $(OUTDIR) $(OUTDIR)/$(NAME).nes
82+
build: $(TMPDIR) $(OUTDIR) $(OUTDIR)/$(NAME).nes
8383

8484

8585

@@ -97,8 +97,6 @@ main:
9797

9898
#target: dependencies
9999

100-
CHR: src/chr/dnt/*.bin
101-
python3 src/chr/donut.py src/chr/uncompressed/ src/chr/dnt -f
102100

103101
$(OUTDIR):
104102
$(call mkdir,$(OUTDIR))

0 commit comments

Comments
 (0)