EEPROM-Sim/Makefile
2024-01-17 12:47:10 +01:00

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)