diff --git a/audio.c b/etc/audio.c similarity index 96% rename from audio.c rename to etc/audio.c index 0c25178..12728c5 100644 --- a/audio.c +++ b/etc/audio.c @@ -26,7 +26,7 @@ void close_audio(void) { int main(int argc, char** argv) { SDL_Init(SDL_INIT_EVERYTHING); - queue("example.wav"); + queue("etc/example.wav"); SDL_PauseAudioDevice(device_id, 0); SDL_Delay(3000); close_audio(); diff --git a/example.wav b/etc/example.wav similarity index 100% rename from example.wav rename to etc/example.wav diff --git a/makefile b/makefile index 4b9d5d4..14cbf81 100644 --- a/makefile +++ b/makefile @@ -6,5 +6,5 @@ run: all bin/cfhfg audio: - cc -o bin/audio audio.c -lSDL2 + cc -o bin/audio etc/audio.c -lSDL2 bin/audio