mirror of
https://github.com/niellun/FastCarPlay.git
synced 2026-07-25 16:20:50 +02:00
Add examples for working with named pipes and resistive buttons with ADS1115
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Makefile for compiling buttons.cpp with optimizations for release
|
||||
|
||||
CXX := g++
|
||||
CXXFLAGS := -std=c++17 -O3 -Wall -Wextra -march=native -flto
|
||||
LDFLAGS := -flto
|
||||
|
||||
all: keylistener emulator
|
||||
|
||||
keylistener: keylistener.cpp
|
||||
$(CXX) $(CXXFLAGS) keylistener.cpp -o keylistener $(LDFLAGS)
|
||||
|
||||
emulator: emulator.cpp
|
||||
$(CXX) $(CXXFLAGS) emulator.cpp -o emulator $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f keylistener emulator
|
||||
Reference in New Issue
Block a user