1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
all: gcc -O2 -Wall -o playsdl2 playsdl2.c pokey.c `pkg-config sdl2 --cflags --libs` #gcc -O2 -Wall -o playsnd playsnd.c pokey.c #test: all #./playsnd > 1.raw #aplay -r 44100 -c 1 -t raw -f u8 1.raw test: all ./playsdl2 $(TEST_SFX) clean: rm -f *.o playsnd playsdl2 *.raw core