Makefile 249 B

123456789101112131415
  1. #
  2. CC=gcc
  3. CCarm=arm-linux-gnueabi-gcc
  4. CFLAGS=-O2 -g
  5. CFLAGS=-O2
  6. LDFLAGS=-lm
  7. runcached: runcached.c
  8. $(CC) $(CFLAGS) -O runcached.c -o $@ $(LDFLAGS)
  9. arm: runcached.c
  10. $(CCarm) $(CFLAGS) -O runcached.c -o $@ $(LDFLAGS)
  11. clean:
  12. rm -f runcached core