Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Do not edit! Automatically generated on Thu Feb 4 13:47:09 2016
  2. PROJ = libnutcrt
  3. top_srcdir = ../../nut
  4. top_blddir = ../.././nutbld
  5. VPATH = $(top_srcdir)/crt
  6. SRCS = close.c clrerr.c ioctl.c open.c select.c getf.c read.c putf.c write.c \
  7. write_p.c fclose.c fcloseall.c fdopen.c feof.c ferror.c fflush.c filelength.c \
  8. fileno.c flushall.c fmode.c fopen.c fpurge.c freopen.c fseek.c ftell.c funopen.c \
  9. seek.c tell.c fgetc.c fgets.c fread.c fscanf.c getc.c getchar.c gets.c kbhit.c \
  10. scanf.c ungetc.c vfscanf.c fscanf_p.c scanf_p.c vfscanf_p.c fprintf.c fputc.c \
  11. fputs.c fwrite.c printf.c putc.c putchar.c puts.c vfprintf.c fprintf_p.c \
  12. fputs_p.c fwrite_p.c printf_p.c puts_p.c vfprintf_p.c asprintf.c sprintf.c \
  13. snprintf.c sscanf.c vasprintf.c vsprintf.c vsnprintf.c vsscanf.c sprintf_p.c \
  14. snprintf_p.c sscanf_p.c vsprintf_p.c vsnprintf_p.c vsscanf_p.c vis.c unvis.c \
  15. gmtime.c localtime.c asctime.c mktime.c time.c timeofday.c tzset.c errno.c \
  16. calloc.c calloc_dbg.c malloc.c malloc_dbg.c realloc.c realloc_dbg.c strdup.c \
  17. strdup_dbg.c getenv.c putenv.c setenv.c environ.c
  18. OBJS = $(SRCS:.c=.o)
  19. include $(top_blddir)/NutConf.mk
  20. include $(top_srcdir)/Makedefs.avr-gcc
  21. INCFIRST=$(INCPRE)$(top_blddir)/include
  22. all: $(PROJ).a $(OBJS)
  23. install: $(PROJ).a
  24. $(CP) $(PROJ).a ../.././nutbld/lib/$(PROJ).a
  25. include $(top_srcdir)/Makerules.avr-gcc
  26. .PHONY: clean
  27. clean: cleancc cleanedit
  28. -rm -f $(PROJ).a