Makefile 786 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Makefile for wm-FPU-emu
  3. #
  4. #DEBUG = -DDEBUGGING
  5. DEBUG =
  6. PARANOID = -DPARANOID
  7. ccflags-y += $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION)
  8. asflags-y += $(PARANOID)
  9. # From 'C' language sources:
  10. C_OBJS =fpu_entry.o errors.o \
  11. fpu_arith.o fpu_aux.o fpu_etc.o fpu_tags.o fpu_trig.o \
  12. load_store.o get_address.o \
  13. poly_atan.o poly_l2.o poly_2xm1.o poly_sin.o poly_tan.o \
  14. reg_add_sub.o reg_compare.o reg_constant.o reg_convert.o \
  15. reg_ld_str.o reg_divide.o reg_mul.o
  16. # From 80x86 assembler sources:
  17. A_OBJS =reg_u_add.o reg_u_div.o reg_u_mul.o reg_u_sub.o \
  18. div_small.o reg_norm.o reg_round.o \
  19. wm_shrx.o wm_sqrt.o \
  20. div_Xsig.o polynom_Xsig.o round_Xsig.o \
  21. shr_Xsig.o mul_Xsig.o
  22. obj-y =$(C_OBJS) $(A_OBJS)
  23. proto:
  24. cproto -e -DMAKING_PROTO *.c >fpu_proto.h