You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
752B

  1. #CC=arm-linux-uclibc-gcc
  2. #AR=arm-linux-uclibc-ar
  3. #LD=arm-linux-uclibc-ld
  4. #CFLAGS=-Iinclude -Wall -Os -pipe -mtune=arm9tdmi -march=armv5te -mabi=apcs-gnu -msoft-float
  5. CFLAGS=-Iinclude -Wall -pipe
  6. #OBJS=spi/spi.o servo/servo.o ik/ik.o linalg/linalg.o dynamic_sequencer/dynamic_sequencer.o licks_message/licks_message.o
  7. OBJS=fakespi/spi.o servo/servo.o ik/ik.o linalg/linalg.o dynamic_sequencer/dynamic_sequencer.o licks_message/licks_message.o
  8. #FAKEOBJS=servo/servo.o fakespi/spi.o
  9. all: liblicks.a
  10. liblicks.a: $(OBJS)
  11. rm -f liblicks.a
  12. $(AR) q liblicks.a $(OBJS)
  13. #liblicks-fakespi.a: $(FAKEOBJS)
  14. # rm -f liblicks-fakespi.a
  15. # $(AR) q liblicks-fakespi.a $(FAKEOBJS)
  16. clean:
  17. rm -f $(OBJS) $(FAKEOBJS)
  18. rm -f *~
  19. rm -f liblicks.a liblicks-fakespi.a