This commit is contained in:
/jdi/ 2015-09-27 12:33:55 +02:00
parent c99118b423
commit d61bfbadf2
2 changed files with 4 additions and 7 deletions

View file

@ -4,19 +4,16 @@ CC = g++
# compiler flags:
# -g adds debugging information to the executable file
# -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:
TARGET = smrtlink
all: $(TARGET)
$(TARGET): $(TARGET).o
$(CC) $(CFLAGS) -o $(TARGET) $(TARGET).o
$(TARGET): src/*.cpp
$(CC) $(CFLAGS) -o $(TARGET) src/*.cpp src/*.h
$(TARGET).o: src/*.cpp
$(CC) $(CFLAGS) src/*.cpp src/*.h
clean:
$(RM) $(TARGET)

View file

@ -1,3 +1,3 @@
# smrtlink
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.