1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-24 01:16:27 +02:00
ben-wpan/tools/atrf-xtal/Makefile
Werner Almesberger ff6c8340c8 tools/atrf-xtal/: new option -b for relative result; -p for pass/fail
- atrf-xtal.c (eval): return the value instead of printing it
- atrf-xtal.c (usage, main): new option -b for reporting the deviation
  from a base count
- atrf-xtal.c (eval): new option -p to report an error for deviations
  outside the specified bound
2011-05-18 23:04:54 -03:00

48 lines
759 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:
rm -f atben.o atrf-xtal.o
spotless: clean
rm -f atrf-xtal
else
MAIN = atrf-xtal
include ../Makefile.common
LDLIBS += -lm
CFLAGS += -O9
OBJS_$(TARGET) = atben.o
$(MAIN): $(OBJS_$(TARGET))
endif