Makefile 430 B

123456789101112131415161718192021
  1. # this is for versatile platform
  2. CROSS_COMPILE=arm-none-linux-gnueabi-
  3. CC = $(CROSS_COMPILE)gcc
  4. ARCH = -mcpu=arm926ej-s -mtune=arm926ej-s
  5. INC = -I../../../inc
  6. CFLAGS = -O -g -Wall $(ARCH) $(INC)
  7. LIB = ../../lib8290enc.a
  8. TESTBENCH=integration_testbench
  9. all: IntegrationTestRegister.o
  10. $(CC) $(CFLAGS) $^ -o $(TESTBENCH) $(LIB) -lpthread
  11. lib:
  12. make -C ../.. versatile
  13. clean:
  14. -rm -f *.o $(TESTBENCH)