Makefile 449 B

123456789101112131415161718192021222324
  1. # Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
  2. # This file is part of the Linux-8086 C library and is distributed
  3. # under the GNU Library General Public License.
  4. TOPDIR=../../../
  5. include $(TOPDIR)Rules.make
  6. CFLAGS+= -D_GCC_LIMITS_H_
  7. LIBC=$(TOPDIR)libc.a
  8. include makefile.objs
  9. all: $(LIBC)
  10. $(LIBC): $(OBJ)
  11. $(AR) $(ARFLAGS) $@ $(OBJ)
  12. transfer:
  13. -@rm -f ../include/stdio.h
  14. cp -p stdio.h ../include/.
  15. clean:
  16. rm -f *.o