Mac OS X gamepad emulator for serial RC transmitters
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Makefile 836B

123456789101112131415161718192021222324252627
  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
  9. install: all
  10. cp bin/protocol ~/bin/protocol
  11. cp bin/foohid ~/bin/foohid
  12. bin/protocol: src/serial.o src/protocol.o
  13. @mkdir -p bin
  14. $(CC) -o bin/protocol src/serial.o src/protocol.o
  15. bin/foohid: src/serial.o src/foohid.o
  16. @mkdir -p bin
  17. $(CC) -o bin/foohid -framework IOKit src/serial.o src/foohid.o
  18. clean:
  19. rm -rf bin
  20. rm -rf src/*.o