23 lines
383 B
Makefile
23 lines
383 B
Makefile
# basic Makefile to simplify testing of the ay8910 code
|
|
|
|
all: ay8910test
|
|
|
|
ay8910test: ay8910.o sound.o sndintrf.o
|
|
gcc -o ay8910test sound.o ay8910.o sndintrf.o -lSDL
|
|
|
|
ay8910.o: ay8910.c
|
|
gcc -c -Wall ay8910.c
|
|
|
|
sound.o: sound.c
|
|
gcc -c -Wall sound.c
|
|
|
|
#streams.o: streams.c
|
|
# gcc -c -Wall streams.c
|
|
|
|
sndintrf.o: sndintrf.c
|
|
gcc -c -Wall sndintrf.c
|
|
|
|
|
|
.PHONY clean:
|
|
rm ay8910test *.o
|