You've already forked UGREEN-NAS
This commit is contained in:
10
sources/ugreen-led-cli/Makefile
Normal file
10
sources/ugreen-led-cli/Makefile
Normal file
@@ -0,0 +1,10 @@
|
||||
CC = g++
|
||||
CFLAGS = -I. -O2 -Wall
|
||||
DEPS = i2c.h main.h
|
||||
OBJ = i2c.o main.o
|
||||
|
||||
%.o: %.cpp $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
ugreen-led-cli: $(OBJ) ugreen-led-cli.o
|
||||
$(CC) -o $@ $^ $(CFLAGS)
|
||||
Reference in New Issue
Block a user