Skip to content

Commit 05efee8

Browse files
committed
Merge branch 'dev'
2 parents 2eda818 + d36d920 commit 05efee8

File tree

47 files changed

+59
-465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+59
-465
lines changed

Linux/Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
CFLAGS=-c -g -Wall -O2 -I../src -D__LINUX__ -DSPI_BUS_NUMBER=0
2+
LIBS = -g -lm -lpthread
3+
4+
all: libOneBitDisplay.a
5+
6+
libOneBitDisplay.a: OneBitDisplay.o ../src/OneBitDisplay.h ../src/linux_io.inl ../src/obd.inl
7+
ar -rc libOneBitDisplay.a OneBitDisplay.o ;\
8+
sudo cp libOneBitDisplay.a /usr/local/lib ;\
9+
sudo cp ../src/OneBitDisplay.h /usr/local/include
10+
11+
OneBitDisplay.o: ../src/obd.inl ../src/linux_io.inl ../src/OneBitDisplay.h ../src/OneBitDisplay.cpp
12+
$(CXX) $(CFLAGS) ../src/OneBitDisplay.cpp
13+
14+
clean:
15+
rm *.o libOneBitDisplay.a
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)