Root/tools/atrf-xtal/Makefile

Source at commit 49e7c83796bc04941e9dbcec69bc0751563ff4d4 created 2 years 8 months ago.
By Werner Almesberger, atusb/: use ""VDD" symbol from kicad-libs
1#
2# atrf-xtal/Makefile - Build the crystal diagnostic utility
3#
4# Written 2010, 2011 by Werner Almesberger
5# Copyright 2010, 2011 Werner Almesberger
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12
13
14MAIN = atrf-xtal
15
16include ../Makefile.common
17
18LDLIBS += -lm
19
20MACROS_host += -DHAVE_ATUSB
21OBJS_host = atusb.o
22LDLIBS_host += -lgsl -lgslcblas
23
24CFLAGS_ben_openwrt += -O9
25MACROS_ben_openwrt += -DHAVE_ATBEN
26OBJS_ben_openwrt = atben.o
27
28CFLAGS_ben_jlime += -O9
29MACROS_ben_jlime += -DHAVE_ATBEN
30OBJS_ben_jlime = atben.o
31
32
33$(MAIN): $(OBJS_$(TARGET))
34
35clean::
36        rm -f $(OBJS_host) $(OBJS_ben_openwrt) $(OBJS_ben_jlime)
37

Archive Download this file



interactive