Fix missing config.h in Makefile
This commit is contained in:
		 Quentin Rameau
					Quentin Rameau
				
			
				
					committed by
					
						 Aaron Marcher
						Aaron Marcher
					
				
			
			
				
	
			
			
			 Aaron Marcher
						Aaron Marcher
					
				
			
						parent
						
							11d4bec648
						
					
				
				
					commit
					e04a385364
				
			
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							| @@ -5,7 +5,7 @@ | ||||
| include config.mk | ||||
|  | ||||
| REQ = util | ||||
| HDR = arg.h | ||||
| HDR = arg.h config.h | ||||
| COM =\ | ||||
| 	battery\ | ||||
| 	cpu\ | ||||
| @@ -52,6 +52,9 @@ user.o: user.c config.mk $(HDR) $(REQ:=.h) | ||||
| volume.o: volume.c config.mk $(HDR) $(REQ:=.h) | ||||
| wifi.o: wifi.c config.mk $(HDR) $(REQ:=.h) | ||||
|  | ||||
| config.h: | ||||
| 	cp config.def.h $@ | ||||
|  | ||||
| .o: | ||||
| 	$(CC) -o $@ $(LDFLAGS) $< $(COM:=.o) $(REQ:=.o) $(LDLIBS) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user