Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. #
  2. # Makefile:
  3. # wiringPi - A "wiring" library for the Raspberry Pi
  4. # https://github.com/wiringPi/wiringPi
  5. #
  6. # Copyright (c) 2012-2015 Gordon Henderson
  7. #################################################################################
  8. # This file is part of wiringPi:
  9. # Wiring Compatable library for the Raspberry Pi
  10. #
  11. # wiringPi is free software: you can redistribute it and/or modify
  12. # it under the terms of the GNU Lesser General Public License as published by
  13. # the Free Software Foundation, either version 3 of the License, or
  14. # (at your option) any later version.
  15. #
  16. # wiringPi is distributed in the hope that it will be useful,
  17. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. # GNU Lesser General Public License for more details.
  20. #
  21. # You should have received a copy of the GNU Lesser General Public License
  22. # along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
  23. #################################################################################
  24. ifneq ($V,1)
  25. Q ?= @
  26. endif
  27. #DEBUG = -g -O0
  28. DEBUG = -O3
  29. CC ?= gcc
  30. INCLUDE = -I/usr/local/include
  31. CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe $(EXTRA_CFLAGS)
  32. LDFLAGS = -L/usr/local/lib
  33. LDLIBS = -lwiringPi -lwiringPiDev -lpthread -lm -lcrypt -lrt
  34. # Should not alter anything below this line
  35. ###############################################################################
  36. SRC = blink.c blink8.c blink12.c \
  37. blink12drcs.c \
  38. pwm.c \
  39. speed.c wfi.c isr.c isr-osc.c \
  40. lcd.c lcd-adafruit.c clock.c \
  41. nes.c \
  42. softPwm.c softTone.c \
  43. delayTest.c serialRead.c serialTest.c okLed.c ds1302.c \
  44. lowPower.c \
  45. max31855.c \
  46. rht03.c
  47. OBJ = $(SRC:.c=.o)
  48. BINS = $(SRC:.c=)
  49. all:
  50. $Q cat README.TXT
  51. $Q echo " $(BINS)" | fmt
  52. $Q echo ""
  53. really-all: $(BINS)
  54. blink: blink.o
  55. $Q echo [link]
  56. $Q $(CC) -o $@ blink.o $(LDFLAGS) $(LDLIBS)
  57. blink8: blink8.o
  58. $Q echo [link]
  59. $Q $(CC) -o $@ blink8.o $(LDFLAGS) $(LDLIBS)
  60. blink12drcs: blink12drcs.o
  61. $Q echo [link]
  62. $Q $(CC) -o $@ blink12drcs.o $(LDFLAGS) $(LDLIBS)
  63. blink12: blink12.o
  64. $Q echo [link]
  65. $Q $(CC) -o $@ blink12.o $(LDFLAGS) $(LDLIBS)
  66. speed: speed.o
  67. $Q echo [link]
  68. $Q $(CC) -o $@ speed.o $(LDFLAGS) $(LDLIBS)
  69. lcd: lcd.o
  70. $Q echo [link]
  71. $Q $(CC) -o $@ lcd.o $(LDFLAGS) $(LDLIBS)
  72. lcd-adafruit: lcd-adafruit.o
  73. $Q echo [link]
  74. $Q $(CC) -o $@ lcd-adafruit.o $(LDFLAGS) $(LDLIBS)
  75. clock: clock.o
  76. $Q echo [link]
  77. $Q $(CC) -o $@ clock.o $(LDFLAGS) $(LDLIBS)
  78. wfi: wfi.o
  79. $Q echo [link]
  80. $Q $(CC) -o $@ wfi.o $(LDFLAGS) $(LDLIBS)
  81. isr: isr.o
  82. $Q echo [link]
  83. $Q $(CC) -o $@ isr.o $(LDFLAGS) $(LDLIBS)
  84. isr-osc: isr-osc.o
  85. $Q echo [link]
  86. $Q $(CC) -o $@ isr-osc.o $(LDFLAGS) $(LDLIBS)
  87. nes: nes.o
  88. $Q echo [link]
  89. $Q $(CC) -o $@ nes.o $(LDFLAGS) $(LDLIBS)
  90. rht03: rht03.o
  91. $Q echo [link]
  92. $Q $(CC) -o $@ rht03.o $(LDFLAGS) $(LDLIBS)
  93. pwm: pwm.o
  94. $Q echo [link]
  95. $Q $(CC) -o $@ pwm.o $(LDFLAGS) $(LDLIBS)
  96. softPwm: softPwm.o
  97. $Q echo [link]
  98. $Q $(CC) -o $@ softPwm.o $(LDFLAGS) $(LDLIBS)
  99. softTone: softTone.o
  100. $Q echo [link]
  101. $Q $(CC) -o $@ softTone.o $(LDFLAGS) $(LDLIBS)
  102. delayTest: delayTest.o
  103. $Q echo [link]
  104. $Q $(CC) -o $@ delayTest.o $(LDFLAGS) $(LDLIBS)
  105. serialRead: serialRead.o
  106. $Q echo [link]
  107. $Q $(CC) -o $@ serialRead.o $(LDFLAGS) $(LDLIBS)
  108. serialTest: serialTest.o
  109. $Q echo [link]
  110. $Q $(CC) -o $@ serialTest.o $(LDFLAGS) $(LDLIBS)
  111. okLed: okLed.o
  112. $Q echo [link]
  113. $Q $(CC) -o $@ okLed.o $(LDFLAGS) $(LDLIBS)
  114. tone: tone.o
  115. $Q echo [link]
  116. $Q $(CC) -o $@ tone.o $(LDFLAGS) $(LDLIBS)
  117. ds1302: ds1302.o
  118. $Q echo [link]
  119. $Q $(CC) -o $@ ds1302.o $(LDFLAGS) $(LDLIBS)
  120. max31855: max31855.o
  121. $Q echo [link]
  122. $Q $(CC) -o $@ max31855.o $(LDFLAGS) $(LDLIBS)
  123. .c.o:
  124. $Q echo [CC] $<
  125. $Q $(CC) -c $(CFLAGS) $< -o $@
  126. clean:
  127. $Q echo "[Clean]"
  128. $Q rm -f $(OBJ) *~ core tags $(BINS)
  129. tags: $(SRC)
  130. $Q echo [ctags]
  131. $Q ctags $(SRC)
  132. depend:
  133. makedepend -Y $(SRC)
  134. # DO NOT DELETE