mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 01:06:11 +00:00
19 lines
222 B
Makefile
19 lines
222 B
Makefile
CC=g++
|
|
CFLAGS=
|
|
LDFLAGS=-std=gnu++11 -lusb-1.0
|
|
|
|
all: make bin/g810-led
|
|
|
|
make:
|
|
rm -rf bin
|
|
mkdir bin
|
|
|
|
bin/g810-led: src/main.cpp src/classes/*
|
|
$(CC) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -rf *.o
|
|
|
|
mrproper: clean
|
|
rm -rf $(EXEC)
|