RaspberrPi project source code
Guo Wenxue
6 days ago f7889e2ceddbc3e15ea4b5377d831f4432169f76
commit | author | age
e30a4c 1
GW 2 PWD=$(shell pwd )
3
4 LIBNAME=$(shell basename ${PWD} )
5 TOPDIR=$(shell dirname ${PWD} )
6
7 all: clean
8     @rm -f *.o
9     @${CROSSTOOL}gcc ${CFLAGS} -I${TOPDIR} -c *.c 
10     ${CROSSTOOL}ar -rcs  lib${LIBNAME}.a *.o
11
12 clean:
13     @rm -f *.o
14     @rm -f *.a
15