1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 01:06:11 +00:00
g810-led/makefile

19 lines
222 B
Makefile
Raw Normal View History

2016-06-12 20:16:07 +00:00
CC=g++
CFLAGS=
2016-06-12 23:06:56 +00:00
LDFLAGS=-std=gnu++11 -lusb-1.0
2016-06-12 20:16:07 +00:00
2016-06-12 20:36:21 +00:00
all: make bin/g810-led
2016-06-12 20:16:07 +00:00
2016-06-12 20:36:21 +00:00
make:
2016-06-12 23:06:56 +00:00
rm -rf bin
2016-06-12 20:36:21 +00:00
mkdir bin
2016-06-12 20:16:07 +00:00
bin/g810-led: src/main.cpp src/classes/*
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -rf *.o
mrproper: clean
rm -rf $(EXEC)