makefile 364 B

1234567891011121314151617181920212223242526
  1. CCTARGET=./libdsp40.a
  2. CC= gcc
  3. CCFLAGS=-Wall -O3
  4. CODER_INC_DIR=../include
  5. CCINCDIR=-I.
  6. CCOBJS=\
  7. basic_op40.o
  8. CCINCS=
  9. .c.o:
  10. ${CC} ${CCFLAGS} ${CCINCDIR} -c $*.c
  11. ${CCTARGET}: ${CCOBJS}
  12. ar rv ${CCTARGET} ${CCOBJS}
  13. ranlib ${CCTARGET}
  14. ${CCOBJS}: ${CCINCS}
  15. clean:
  16. rm -f *.o
  17. clobber:
  18. rm -f *.o ${CCTARGET}
  19. basic_op40.o: basic_op40.c