diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 | 
1 files changed, 8 insertions, 7 deletions
| @@ -14,8 +14,6 @@ all: dla.xex dla2csv dla2csv.xex dla2img.sh  dla.xex: dla.s io.s dlatbl.s xex.inc printint.s render.s drunkwalk.s dlaver.h  	$(CL65) $(CL65FLAGS) -l dla.list -Ln dla.labels -t none -o dla.xex dla.s -dla2csv.xex: dla2csv.c dlaver.h -  dla2img.sh: VERSION  	$(PERL) d2iver.pl dla2img.sh @@ -32,6 +30,11 @@ dla2csv: dla2csv.c  	$(CC) $(CFLAGS) -o dla2csv dla2csv.c \  	|| echo "Couldn't build host dla2csv; continuing without it" +# turn off unused parameter warnings because cc65 insists on complaining +# that argc and argv are unused. +dla2csv.xex: dla2csv.c dlaver.h +	$(CL65) $(CL65FLAGS) -t atari -W -unused-param -o $@ dla2csv.c +  disk: drive1.atr  drive1.atr: all @@ -53,10 +56,8 @@ disktest: disk  tnfs: all  	sh tnfs.sh dla.xex dla2csv.xex -%.xex: %.s -	$(CL65) $(CL65FLAGS) -t none -o $@ $< - -# turn off unused parameter warnings because cc65 insists on complaining -# that argc and argv are unused. +# this rule isn't actually used by the other targets, it's just +# handy for writing little "test.c" programs and being able to +# say "make test.xex".  %.xex: %.c  	$(CL65) $(CL65FLAGS) -t atari -W -unused-param -o $@ $< | 
