1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-17 23:20:38 +02:00
ben-wpan/tools/atrf-gpio/Makefile
Werner Almesberger 4924755a15 atrf-gpio: new utility to directly access GPIOs (for now atben-only)
- tools/atrf-gpio/: new utility to directly access GPIOs
- tools/Makefile (BEN_DIRS): added atrf-gpio
2011-06-04 09:50:27 -03:00

32 lines
714 B
Makefile

#
# atrf-gpio/Makefile - Build the GPIO test 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-gpio
include ../Makefile.common
MACROS_host += -DHAVE_ATUSB
OBJS_host = atusb.o
MACROS_ben_openwrt += -DHAVE_ATBEN
OBJS_ben_openwrt = atben.o
MACROS_ben_jlime += -DHAVE_ATBEN
OBJS_ben_jlime = atben.o
$(MAIN): $(OBJS_$(TARGET))
clean::
rm -f $(OBJS_host) $(OBJS_ben_openwrt) $(OBJS_ben_jlime)