Mac OS X gamepad emulator for serial RC transmitters
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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