16 lines
232 B
Makefile
16 lines
232 B
Makefile
CFLAGS = -std=c++20 -O2
|
|
LFLAGS = -lbcm2835
|
|
|
|
TOOLS = eeprom_sim #test/test_out test/test_in test/test_edge
|
|
|
|
default: $(TOOLS)
|
|
|
|
.PHONY = test clean
|
|
test: test.cpp
|
|
|
|
%: %.cpp
|
|
g++ $< -o $@ $(CFLAGS) $(LFLAGS)
|
|
|
|
clean:
|
|
rm $(TOOLS)
|