clean up
This commit is contained in:
parent
c99118b423
commit
d61bfbadf2
2 changed files with 4 additions and 7 deletions
9
Makefile
9
Makefile
|
|
@ -4,19 +4,16 @@ CC = g++
|
||||||
# compiler flags:
|
# compiler flags:
|
||||||
# -g adds debugging information to the executable file
|
# -g adds debugging information to the executable file
|
||||||
# -Wall turns on most, but not all, compiler warnings
|
# -Wall turns on most, but not all, compiler warnings
|
||||||
CFLAGS = -g -Wall -lrt -std=c++11
|
CFLAGS = -g -Wall -lrt -lpthread -lc -std=c++11
|
||||||
|
|
||||||
# the build target executable:
|
# the build target executable:
|
||||||
TARGET = smrtlink
|
TARGET = smrtlink
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
$(TARGET): $(TARGET).o
|
$(TARGET): src/*.cpp
|
||||||
$(CC) $(CFLAGS) -o $(TARGET) $(TARGET).o
|
$(CC) $(CFLAGS) -o $(TARGET) src/*.cpp src/*.h
|
||||||
|
|
||||||
$(TARGET).o: src/*.cpp
|
|
||||||
$(CC) $(CFLAGS) src/*.cpp src/*.h
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) $(TARGET)
|
$(RM) $(TARGET)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
# smrtlink
|
# smrtlink
|
||||||
Command-Line Tool wich might in the future be able to configure TP-Link Easy Smart Switches.
|
Command-Line Tool wich might in the future be able to configure TP-Link Easy Smart Switches.
|
||||||
The usage is loosely based on the vswitch utility.
|
The usage is loosely based on the swconfig utility.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue