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,18 +4,15 @@ 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).o: src/*.cpp | ||||
| 	$(CC) $(CFLAGS) src/*.cpp src/*.h | ||||
| $(TARGET): src/*.cpp | ||||
| 	$(CC) $(CFLAGS) -o $(TARGET) src/*.cpp src/*.h | ||||
| 	 | ||||
| clean: | ||||
| 	$(RM) $(TARGET) | ||||
|  |  | |||
|  | @ -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.  | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue