2010-08-20 22:27:24 +03:00
|
|
|
#
|
|
|
|
# lib/Makefile - Build the ATSPI library
|
|
|
|
#
|
|
|
|
# Written 2010 by Werner Almesberger
|
|
|
|
# Copyright 2010 Werner Almesberger
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2010-08-23 19:39:07 +03:00
|
|
|
F32XBASE = ../../../../f32xbase
|
2010-08-20 22:27:24 +03:00
|
|
|
|
|
|
|
LIB = libatspi.a
|
|
|
|
|
|
|
|
CFLAGS = -Wall -I$(F32XBASE)/include -I../../fw/include -I../include
|
|
|
|
OBJS = $(F32XBASE)/lib/usb.o atspi.o
|
|
|
|
|
|
|
|
.PHONY: all clean spotless
|
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(OBJS)
|
|
|
|
$(AR) cr $@ $^
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJS)
|
|
|
|
|
|
|
|
spotless: clean
|
|
|
|
rm -f $(LIB)
|