Mac OS X gamepad emulator for serial RC transmitters
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

Makefile 957B

12345678910111213141516171819202122232425262728293031
  1. # ----------------------------------------------------------------------------
  2. # "THE BEER-WARE LICENSE" (Revision 42):
  3. # <xythobuz@xythobuz.de> wrote this file. As long as you retain this notice
  4. # you can do whatever you want with this stuff. If we meet some day, and you
  5. # think this stuff is worth it, you can buy me a beer in return. Thomas Buck
  6. # ----------------------------------------------------------------------------
  7. CFLAGS ?= -Wall -pedantic -std=c11
  8. all: bin/protocol bin/foohid SerialGamepad.app
  9. install: all
  10. cp bin/protocol ~/bin/protocol
  11. cp bin/foohid ~/bin/foohid
  12. cp -r build/Release/SerialGamepad.app /Applications/SerialGamepad.app
  13. SerialGamepad.app:
  14. xcodebuild
  15. bin/protocol: src/serial.o src/protocol.o
  16. @mkdir -p bin
  17. $(CC) -o bin/protocol src/serial.o src/protocol.o
  18. bin/foohid: src/serial.o src/foohid.o
  19. @mkdir -p bin
  20. $(CC) -o bin/foohid -framework IOKit src/serial.o src/foohid.o
  21. clean:
  22. rm -rf bin
  23. rm -rf src/*.o