CC = gcc CFLAGS = -O3 -Wall -I../include LD = gcc LDFLAGS = LIBS = -lxmp all: examples examples: player-simple player-showpatterns showinfo player-getbuffer player-openal player-openal-buffer player-simple: player-simple.o alsa.o $(LD) -o $@ $(LDFLAGS) $+ -lasound $(LIBS) player-showpatterns: player-showpatterns.o alsa.o $(LD) -o $@ $(LDFLAGS) $+ -lasound $(LIBS) showinfo: showinfo.o $(LD) -o $@ $(LDFLAGS) $+ $(LIBS) player-getbuffer: player-getbuffer.o alsa.o $(LD) -o $@ $(LDFLAGS) $+ -lasound $(LIBS) player-openal: player-openal.o $(LD) -o $@ $(LDFLAGS) $+ -lopenal $(LIBS) player-openal-buffer: player-openal-buffer.o $(LD) -o $@ $(LDFLAGS) $+ -lopenal $(LIBS) player-sdl: player-sdl.o $(LD) -o $@ $(LDFLAGS) $+ -lSDL $(LIBS) player-sdl-smix: player-sdl-smix.o $(LD) -o $@ $(LDFLAGS) $+ -lSDL $(LIBS)