Root/tools/libant/Makefile

Source at commit 30c683effd7ab362d1517950700c96cfa09e45e8 created 11 years 17 days ago.
By Werner Almesberger, tornado/fw/sim/p: pass arguments to "alg"; label graphs; better separate "up"
1#
2# tools/libant/Makefile - Build the Antorcha library
3#
4# Written 2012 by Werner Almesberger
5# Copyright 2012 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 = libant.a
15
16# _GNU_SOURCE for vasprintf
17CFLAGS = -g -Wall -D_GNU_SOURCE
18
19OBJS = edit.o font.o dump.o
20
21.PHONY: all ben clean spotless
22
23all: $(LIB)
24
25ben:
26        $(MAKE) CC=mipsel-openwrt-linux-gcc
27
28$(LIB): $(OBJS)
29        $(AR) cr $@ $^
30
31clean:
32        rm -f $(OBJS)
33
34spotless: clean
35        rm -f $(LIB)
36

Archive Download this file

Branches:
master
tornado-v1



interactive