Remove LIBS
This commit is contained in:
		
							parent
							
								
									069b9e60a1
								
							
						
					
					
						commit
						0f940474db
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		
							
								
								
									
										5
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -2,13 +2,12 @@ CC ?= gcc
 | 
			
		|||
PKG_CONFIG ?= pkg-config
 | 
			
		||||
PREFIX ?= /usr/local
 | 
			
		||||
VERSION := $(shell if [ -d .git ] && which git 2>&1 > /dev/null; then git describe --always | tail -c +2; else echo $$STANDALONE_VERSION; fi)
 | 
			
		||||
LIBS = -lpcap
 | 
			
		||||
CFLAGS += -Wall -g -DNMRPFLASH_VERSION=\"$(VERSION)\"
 | 
			
		||||
LDFLAGS += $(LIBS)
 | 
			
		||||
LDFLAGS += -lpcap
 | 
			
		||||
 | 
			
		||||
ifeq ($(shell uname -s),Linux)
 | 
			
		||||
	CFLAGS += $(shell $(PKG_CONFIG) libnl-route-3.0 --cflags)
 | 
			
		||||
	LIBS += $(shell $(PKG_CONFIG) libnl-route-3.0 --libs)
 | 
			
		||||
	LDFLAGS += $(shell $(PKG_CONFIG) libnl-route-3.0 --libs)
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(shell uname -s),Darwin)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue