Built SDL2_image and _mixer static
This commit is contained in:
17
libsdl2_mixer/debian/examples/Makefile
Normal file
17
libsdl2_mixer/debian/examples/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# Makefile for playmus and playwave
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = $(shell sdl2-config --cflags) -Wall -O
|
||||
LIBS = $(shell sdl2-config --libs) -lSDL_mixer
|
||||
EXE = playmus playwave
|
||||
|
||||
all: $(EXE)
|
||||
|
||||
playmus: playmus.c Makefile
|
||||
$(CC) -o $@ $@.c $(CFLAGS) $(LIBS)
|
||||
|
||||
playwave: playwave.c Makefile
|
||||
$(CC) -o $@ $@.c $(CFLAGS) $(LIBS)
|
||||
|
||||
clean:
|
||||
-rm *.o $(EXE)
|
Reference in New Issue
Block a user