24 lines
576 B
Makefile
24 lines
576 B
Makefile
# Makefile
|
|
|
|
VPATH = ..
|
|
|
|
OBJECTS.test-menu = test-menu.o test-display.o menu.o test-therm.o config.o
|
|
OBJECTS.test-graphics = test-graphics.o menu.o test-i2c.o display.o test-therm.o config.o font.o fields.o profile.o control.o
|
|
|
|
CFLAGS = -Wall -Werror -Os -I. -I..
|
|
LDLIBS = -lncurses
|
|
|
|
CFLAGS+=`pkg-config --cflags sdl SDL_gfx`
|
|
LDLIBS+=`pkg-config --libs sdl SDL_gfx`
|
|
LDLIBS+=-lm
|
|
|
|
#all: test-menu test-graphics
|
|
all: test-graphics
|
|
|
|
test-menu: $(OBJECTS.test-menu)
|
|
|
|
test-graphics: $(OBJECTS.test-graphics)
|
|
|
|
clean:
|
|
rm -f test-menu $(OBJECTS.test-menu) $(OBJECTS.test-graphics)
|