Files
fori_zltech_motor_test/Makefile
T
2026-08-07 13:48:39 +09:00

17 lines
263 B
Makefile

CXX = g++
CXXFLAGS = -O3 -std=c++17 -Wall -Wextra
LIBS = -lSDL2 -lpthread
TARGET = xbox_motor_control_cpp
SRC = xbox_motor_control.cpp
all: $(TARGET)
$(TARGET): $(SRC)
$(CXX) $(CXXFLAGS) $(SRC) $(LIBS) -o $(TARGET)
clean:
rm -f $(TARGET)
.PHONY: all clean