#CC=arm-linux-uclibc-gcc #AR=arm-linux-uclibc-ar #LD=arm-linux-uclibc-ld #CFLAGS=-Iinclude -Wall -Os -pipe -mtune=arm9tdmi -march=armv5te -mabi=apcs-gnu -msoft-float CFLAGS=-Iinclude -Wall -pipe #OBJS=spi/spi.o servo/servo.o ik/ik.o linalg/linalg.o dynamic_sequencer/dynamic_sequencer.o licks_message/licks_message.o OBJS=fakespi/spi.o servo/servo.o ik/ik.o linalg/linalg.o dynamic_sequencer/dynamic_sequencer.o licks_message/licks_message.o #FAKEOBJS=servo/servo.o fakespi/spi.o all: liblicks.a liblicks.a: $(OBJS) rm -f liblicks.a $(AR) q liblicks.a $(OBJS) #liblicks-fakespi.a: $(FAKEOBJS) # rm -f liblicks-fakespi.a # $(AR) q liblicks-fakespi.a $(FAKEOBJS) clean: rm -f $(OBJS) $(FAKEOBJS) rm -f *~ rm -f liblicks.a liblicks-fakespi.a