aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gmu/files/ben-nanonote/nanonote.mk
blob: 5e96bdd49370a6de32edcafb39906875b4348d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
DECODERS_TO_BUILD=decoders/vorbis.so decoders/flac.so decoders/mpg123.so
FRONTENDS_TO_BUILD=frontends/sdl.so frontends/log.so
CC=$(CC)
CXX=$(CPP)
STRIP=$(STRIP)
DEVICE=NANONOTE

SDL_LIB=$(shell sdl-config --libs)
SDL_CFLAGS=$(shell sdl-config --cflags)

INCS=$(CFLAGS) $(SDL_CFLAGS) -D_GNU_SOURCE=1 -D_REENTRANT -D_$(DEVICE)
LIBS=$(LDFLAGS) $(SDL_LIB) -lSDL_image -lSDL_gfx -ldl -Wl,-export-dynamic