Initial commit

This commit is contained in:
2018-06-18 00:55:49 +02:00
commit 48891d71eb
7 changed files with 225 additions and 0 deletions

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
CC_FLAGS=-I. -Os -g
LD_FLAGS=
LIBS=-lstdc++
mrfc522: src/main.o src/mfrc522.o src/spi.o
gcc ${LD_FLAGS} -o $@ $^ ${LIBS}
%.o: %.cpp
gcc -c ${CC_FLAGS} -o $@ $<