Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. INTS=em_t--- em_---- em_tf-- em_t-c- em_t--p
  2. b=../../../lib/em22
  3. all: $(INTS) eminform em
  4. em: em.c
  5. $(CC) -o em -I../../../h em.c
  6. eminform: eminform.s
  7. as eminform.s;ld -i -o eminform a.out -lc
  8. em_t---: t+ f- c- p- em_int.s
  9. as t+ f- c- p- em_int.s;ld -i -o em_t--- a.out -lc
  10. em_----: t- f- c- p- em_int.s
  11. as t- f- c- p- em_int.s;ld -i -o em_---- a.out -lc
  12. em_tf--: t+ f+ c- p- em_int.s
  13. as t+ f+ c- p- em_int.s;ld -i -o em_tf-- a.out -lc
  14. em_t-c-: t+ f- c+ p- em_int.s
  15. as t+ f- c+ p- em_int.s;ld -i -o em_t-c- a.out -lc
  16. em_t--p: t+ f- c- p+ em_int.s
  17. as t+ f- c- p+ em_int.s;ld -i -o em_t--p a.out -lc
  18. install: all
  19. -mkdir $b
  20. cp em_???? $b
  21. cp em eminform ../../../bin
  22. cp em.1 eminform.1 ../../../man
  23. cmp: all
  24. -cmp em_t--- $b/em_t---
  25. -cmp em_---- $b/em_----
  26. -cmp em_tf-- $b/em_tf--
  27. -cmp em_t-c- $b/em_t-c-
  28. -cmp em_t--p $b/em_t--p
  29. -cmp em ../../../bin/em
  30. -cmp eminform ../../../bin/eminform
  31. -cmp em.1 ../../../man/em.1
  32. -cmp eminform.1 ../../../man/eminform.1
  33. clean:
  34. -rm -f *.o *.old a.out em eminform $(INTS)
  35. opr:
  36. make pr | opr
  37. pr:
  38. @pr em.c em_int.s eminform.s