stest: get rid of getopt, use suckless arg.h
... also some style improvements.
This commit is contained in:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							@@ -22,7 +22,7 @@ config.h:
 | 
			
		||||
	@echo creating $@ from config.def.h
 | 
			
		||||
	@cp config.def.h $@
 | 
			
		||||
 | 
			
		||||
${OBJ}: config.h config.mk drw.h
 | 
			
		||||
${OBJ}: arg.h config.h config.mk drw.h
 | 
			
		||||
 | 
			
		||||
dmenu: dmenu.o drw.o util.o
 | 
			
		||||
	@echo CC -o $@
 | 
			
		||||
@@ -39,8 +39,8 @@ clean:
 | 
			
		||||
dist: clean
 | 
			
		||||
	@echo creating dist tarball
 | 
			
		||||
	@mkdir -p dmenu-${VERSION}
 | 
			
		||||
	@cp LICENSE Makefile README config.mk dmenu.1 drw.h util.h dmenu_path \
 | 
			
		||||
		dmenu_run stest.1 ${SRC} dmenu-${VERSION}
 | 
			
		||||
	@cp LICENSE Makefile README arg.h config.mk dmenu.1 drw.h util.h \
 | 
			
		||||
		dmenu_path dmenu_run stest.1 ${SRC} dmenu-${VERSION}
 | 
			
		||||
	@tar -cf dmenu-${VERSION}.tar dmenu-${VERSION}
 | 
			
		||||
	@gzip dmenu-${VERSION}.tar
 | 
			
		||||
	@rm -rf dmenu-${VERSION}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user