mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
atrf-path: added basic graphical output
- gui.h, gui.c: plot sweep results with SDL_gfx - Makefile: added target-specific variables for SDL and SDL_gfx - atrf-path.c (main): invoke the GUI if the number of sweeps is zero
This commit is contained in:
@@ -14,3 +14,15 @@
|
||||
MAIN = atrf-path
|
||||
|
||||
include ../Makefile.common
|
||||
|
||||
CFLAGS_host += $(shell sdl-config --cflags)
|
||||
MACROS_host += -DHAVE_GFX
|
||||
LDLIBS_host += $(shell sdl-config --libs) -lSDL_gfx
|
||||
OBJS_host = gui.o
|
||||
|
||||
CFLAGS_ben_jlime += $(shell sdl-config --cflags)
|
||||
MACROS_ben_jlime += -DHAVE_GFX
|
||||
LDLIBS_ben_jlime += -lSDL -lSDL_gfx
|
||||
OBJS_ben_jlime = gui.o
|
||||
|
||||
$(MAIN): $(OBJS_$(TARGET))
|
||||
|
||||
Reference in New Issue
Block a user