py converted to c

This commit is contained in:
2019-10-04 13:15:37 +02:00
parent 2a008be563
commit 3032cf9a3c
2 changed files with 130 additions and 5 deletions

17
snippets/test1/Makefile Normal file
View File

@ -0,0 +1,17 @@
CC=gcc
CFLAGS=-Wall
LDFLAGS=-lwiringPi
test1: test1.o
$(CC) -o $@ $(LDFLAGS) $^
.c.o:
$(CC) $(CFLAGS) -c $<
.PHONY: all
all: test1
.PHONY: clean
clean:
-rm -f *.o test1