Root/tools/lib/Makefile

Source at commit 32de4b6ad4b428b1aa13791fdb52af7b21618d11 created 10 years 1 month ago.
By Werner Almesberger, great atusd -> atben renaming: renamed tools/atusd.c and Makefile reference
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
18CFLAGS += -Wall -I$(F32XBASE)/include
19
20OBJS_host = atusb.o $(F32XBASE)/lib/usb.o
21OBJS_ben_jlime = atben.o
22OBJS_ben_openwrt = atben.o
23
24OBJS = atrf.o misctxrx.o $(OBJS_$(TARGET))
25
26.PHONY: all clean spotless
27
28all: $(LIB)
29
30$(LIB): $(OBJS)
31        $(AR) cr $@ $^
32
33clean:
34        rm -f $(OBJS) $(OBJS_ben) $(OBJS_host)
35
36spotless: clean
37        rm -f $(LIB)
38

Archive Download this file



interactive