Makefile 646 B

1234567891011121314151617181920212223242526272829
  1. all: bindir init join get_name position position_stream
  2. #move goto see
  3. bindir: bin
  4. mkdir -p bin
  5. init: init.c help/util.h
  6. gcc init.c -o bin/init -lmman
  7. join: join.c help/util.h
  8. gcc join.c -o bin/join -lmman -lpthread
  9. get_name: get_name.c help/util.h
  10. gcc get_name.c -o bin/get_name -lmman -lpthread
  11. position: position.c help/util.h
  12. gcc position.c -o bin/position -lmman -lpthread
  13. position_stream: position_stream.c help/query.h
  14. gcc position_stream.c -o bin/position_stream -lmman -lpthread
  15. move: move.c help/util.h
  16. gcc move.c -o bin/move
  17. goto: goto.c help/util.h
  18. gcc goto.c -o bin/goto
  19. see: see.c help/query.h
  20. gcc see.c -o bin/see