Root/tools/lib/Makefile

Source at commit ae1455cc7dadfaa494c792217d1e4a53efb2747e created 7 years 1 month ago.
By Stefan Schmidt, atusb-eui64: print out set address with upper case characters in hex
1#
2# lib/Makefile - Build the ATRF library
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
14LIB = libatrf.a
15
16include ../Makefile.common
17
18OBJS_host = atusb.o atusb-spi.o atusb-common.o usbopen.o
19OBJS_ben_jlime = atben.o
20OBJS_ben_openwrt = atben.o
21
22OBJS = atrf.o atnet.o misctxrx.o cwtest.o netio.o daemon.o timeout.o getkey.o \
23       $(OBJS_$(TARGET))
24
25.PHONY: all clean spotless
26
27all: $(LIB)
28
29$(LIB): $(OBJS)
30        $(AR) cr $@ $^
31
32clean:
33        rm -f $(OBJS)
34        rm -f $(OBJS_ben_jlime) $(OBJS_ben_openwrt) $(OBJS_host)
35
36spotless: clean
37        rm -f $(LIB)
38

Archive Download this file



interactive