mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-26 00:39:20 +02:00
45e55fe2f1
- tools/Makefile (upload): make destinastion host name ("ben" or "jlime") depend on TARGET - tools/Makefile.common (CC_ben, CFLAGS_ben, LDLIBS_ben, MACROS_ben): renamed to *_openwrt and added *_jlime equivalents - tools/atrf-rssi/Makefile: added settings to use SDL_gfx on Jlime - tools/lib/Makefile (OBJS_ben): renamed to OBJS_ben_openwrt and added OBJS_ben_jlime
29 lines
782 B
Makefile
29 lines
782 B
Makefile
#
|
|
# atrf-rssi/Makefile - Build the spectrum scan utility
|
|
#
|
|
# Written 2010-2011 by Werner Almesberger
|
|
# Copyright 2010-2011 Werner Almesberger
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
|
|
|
|
MAIN = atrf-rssi
|
|
|
|
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 zgrid.o digit.o
|
|
|
|
CFLAGS_ben_jlime += $(shell sdl-config --cflags)
|
|
MACROS_ben_jlime += -DHAVE_GFX
|
|
LDLIBS_ben_jlime += -lSDL -lSDL_gfx
|
|
OBJS_ben_jlime = gui.o zgrid.o digit.o
|
|
|
|
$(MAIN): $(OBJS_$(TARGET))
|