# Makefile

CFLAGS=-O3 -march=native -Wall
all:	blitz

blitz:		blitz.c blitz_bin.h global.c global.h utils.c utils.h \
		iosys.c iosys.h helpers.c helpers.h buffer.c buffer.h \
		system.c system.h system_bin.h \
		nu6502/nu6502.c nu6502/nu6502.h \
		embed_load.c embed_load.h \
		slre/slre.c slre/slre.h
	$(CC) $(CFLAGS) -o $@ $^
	strip --strip-all $@

clean:
	rm -f *~ \#*\#
	rm -f a.out
	rm -f a.prg a.prg.ml a.prg.orig
	rm -f blitz

# eof
