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.

22 line
468B

  1. CC=arm-linux-uclibc-gcc
  2. STRIP=arm-linux-uclibc-strip
  3. STRIP=echo
  4. CFLAGS=-Wall -Os -pipe -mtune=arm9tdmi -march=armv5te -mabi=apcs-gnu -msoft-float -I../liblicks/include
  5. OBJS=main.o ../liblicks/liblicks.a
  6. BIN=home
  7. $(BIN): $(OBJS)
  8. $(CC) $(OBJS) -o $(BIN) -lm
  9. $(STRIP) $(BIN)
  10. ../liblicks/liblicks.a:
  11. make -C ../liblicks/ liblicks.a
  12. ../liblicks/liblicks-fakespi.a:
  13. make -C ../liblicks/ liblicks-fakespi.a
  14. clean:
  15. rm -f *.o *~ $(BIN)
  16. make -C ../liblicks/ clean