CC/communication/cpp_linux_serial/Makefile

11 lines
181 B
Makefile
Raw Normal View History

2024-01-27 23:52:22 +03:00
PROGRAM = serial_test
CC = g++ -O2
HEADER = -I./3rdparty/CppLinuxSerial/include
all: $(PROGRAM)
$(PROGRAM):
cc $(HEADER) main.cpp SerialPort.o -o $@ -lstdc++
.PHONY: $(PROGRAM)