1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-23 00:42:28 +02:00
ben-wpan/tools/atrf-xtal/Makefile
Werner Almesberger 28e7f25585 tools/atrf-xtal: new utility to measure the crystal frequency
- Makefile (DIRS): added atrf-xtal
- atrf-xtal/Makefile: build atrf-xtal for the Ben or do nothing elsewhere
- atrf-xtal/atrf-xtal.h, atrf-xtal/atrf-xtal.c: diagnostic utility to
  determine the transceiver's crystal frequency
- atrf-xtal/atben.c: dirty low-level driver for ATBEN
2011-04-03 22:50:19 -03:00

45 lines
693 B
Makefile

#
# atrf-xtal/Makefile - Build the crystal diagnostic 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.
#
ifeq ($(TARGET),)
TARGET = host
endif
ifeq ($(TARGET),host)
.PHONY: all install uninstall clean spotless
all:
install:
uninstall:
clean:
spotless:
else
MAIN = atrf-xtal
include ../Makefile.common
CFLAGS += -O9
OBJS_$(TARGET) = atben.o
$(MAIN): $(OBJS_$(TARGET))
endif