mirror of
				https://github.com/brmlab/osmo-tetra.git
				synced 2025-10-31 07:24:01 +01:00 
			
		
		
		
	add tunctl to makefile
tunctl will be needed for the upcoming SNDCP payload dumping
This commit is contained in:
		
							parent
							
								
									2d9b3e2560
								
							
						
					
					
						commit
						005e26833e
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -1,7 +1,7 @@ | ||||||
| CFLAGS=-g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. | CFLAGS=-g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. | ||||||
| LDFLAGS=`pkg-config --libs libosmocore 2> /dev/null` -losmocore | LDFLAGS=`pkg-config --libs libosmocore 2> /dev/null` -losmocore | ||||||
| 
 | 
 | ||||||
| all: conv_enc_test crc_test tetra-rx float_to_bits | all: conv_enc_test crc_test tetra-rx float_to_bits tunctl | ||||||
| 
 | 
 | ||||||
| %.o: %.c | %.o: %.c | ||||||
| 	$(CC) $(CFLAGS) -c $^ -o $@ | 	$(CC) $(CFLAGS) -c $^ -o $@ | ||||||
|  | @ -21,5 +21,7 @@ tetra-rx: tetra-rx.o libosmo-tetra-phy.a libosmo-tetra-mac.a | ||||||
| conv_enc_test: conv_enc_test.o testpdu.o libosmo-tetra-phy.a libosmo-tetra-mac.a | conv_enc_test: conv_enc_test.o testpdu.o libosmo-tetra-phy.a libosmo-tetra-mac.a | ||||||
| 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ | 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ | ||||||
| 
 | 
 | ||||||
|  | tunctl: tunctl.o | ||||||
|  | 
 | ||||||
| clean: | clean: | ||||||
| 	@rm -f float_to_bits crc_test tetra-rx conv_enc_test *.o phy/*.o lower_mac/*.o *.a | 	@rm -f tunctl float_to_bits crc_test tetra-rx conv_enc_test *.o phy/*.o lower_mac/*.o *.a | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Harald Welte
						Harald Welte