Root/tools/lib/Makefile

Source at commit 36e73c4abb520aa65722ef5e1483bcb8b75bf9f4 created 9 years 1 month ago.
By Werner Almesberger, Moved tools/ out of atrf, in preparation of merge with atusd.
1#
2# lib/Makefile - Build the ATSPI library
3#
4# Written 2010 by Werner Almesberger
5# Copyright 2010 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
14F32XBASE = ../../../f32xbase
15
16LIB = libatspi.a
17
18CFLAGS = -Wall -I$(F32XBASE)/include -I../../atrf/fw/include -I../include
19OBJS = $(F32XBASE)/lib/usb.o atspi.o
20
21.PHONY: all clean spotless
22
23all: $(LIB)
24
25$(LIB): $(OBJS)
26        $(AR) cr $@ $^
27
28clean:
29        rm -f $(OBJS)
30
31spotless: clean
32        rm -f $(LIB)
33

Archive Download this file



interactive