Fix object order and stop using a GNU make idiom
This commit is contained in:
		
				
					committed by
					
						
						Aaron Marcher
					
				
			
			
				
	
			
			
			
						parent
						
							0efd64ffaa
						
					
				
				
					commit
					cd884c2f0a
				
			
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -60,7 +60,7 @@ config.h:
 | 
				
			|||||||
	cp config.def.h $@
 | 
						cp config.def.h $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
slstatus: slstatus.o $(COM:=.o) $(REQ:=.o)
 | 
					slstatus: slstatus.o $(COM:=.o) $(REQ:=.o)
 | 
				
			||||||
	$(CC) -o $@ $(LDFLAGS) $< $(COM:=.o) $(REQ:=.o) $(LDLIBS)
 | 
						$(CC) -o $@ $(LDFLAGS) $(COM:=.o) $(REQ:=.o) slstatus.o $(LDLIBS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
	rm -f slstatus slstatus.o $(COM:=.o) $(REQ:=.o)
 | 
						rm -f slstatus slstatus.o $(COM:=.o) $(REQ:=.o)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user