1 2 3 4 5 6 7 8 9 10 11 12 13 14
libcbrll.a : cbrll.o ar ru libcbrll.a cbrll.o ranlib libcbrll.a cbrll.o : cbrll.c cbrll.h gcc -c cbrll.c clean: rm libcbrll.a cbrll.o install: cp libcbrll.a /usr/lib/libcbrll.a cp cbrll.h /usr/include/cbrll.h remove: rm /usr/lib/libcbrll.a rm /usr/include/cbrll.h