20180211
This commit is contained in:
parent
25688c3437
commit
f32b904e0b
Binary file not shown.
Binary file not shown.
24
raspberrypi_zero/gpio/Makefile
Normal file
24
raspberrypi_zero/gpio/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
CC=gcc
|
||||
libs=info_infrared.o info_light.o info_pin.o info_sound.o info_ultrasound.o
|
||||
|
||||
all: infrared light pin sound ultrasound
|
||||
|
||||
infrared: info_infrared.o
|
||||
$(CC) -c info_infrared.c
|
||||
$(CC) info_infrared.o -o info_infrared -lwiringPi
|
||||
light: info_light.o
|
||||
$(CC) -c info_light.c
|
||||
$(CC) info_light.o -o info_light -lwiringPi
|
||||
pin: info_pin.o
|
||||
$(CC) -c info_pin.c
|
||||
$(CC) info_pin.o -o info_pin -lwiringPi
|
||||
sound: info_sound.o
|
||||
$(CC) -c info_sound.c
|
||||
$(CC) info_sound.o -o info_sound -lwiringPi
|
||||
ultrasound: info_ultrasound.o
|
||||
$(CC) -c info_ultrasound.c
|
||||
$(CC) info_ultrasound.o -o info_ultrasound -lwiringPi
|
||||
|
||||
.PHONY : clean
|
||||
clean :
|
||||
rm -f $(libs) info_infrared info_light info_sound info_ultrasound
|
BIN
raspberrypi_zero/gpio/info_infrared.o
Normal file
BIN
raspberrypi_zero/gpio/info_infrared.o
Normal file
Binary file not shown.
BIN
raspberrypi_zero/gpio/info_light.o
Normal file
BIN
raspberrypi_zero/gpio/info_light.o
Normal file
Binary file not shown.
BIN
raspberrypi_zero/gpio/info_pin.o
Normal file
BIN
raspberrypi_zero/gpio/info_pin.o
Normal file
Binary file not shown.
BIN
raspberrypi_zero/gpio/info_sound.o
Normal file
BIN
raspberrypi_zero/gpio/info_sound.o
Normal file
Binary file not shown.
BIN
raspberrypi_zero/gpio/info_ultrasound.o
Normal file
BIN
raspberrypi_zero/gpio/info_ultrasound.o
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user