kike: fix the Makefile
This commit is contained in:
		
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							@@ -10,7 +10,7 @@ LDFLAGS = `pkg-config --libs libssl` -lpthread
 | 
				
			|||||||
.PHONY: all clean
 | 
					.PHONY: all clean
 | 
				
			||||||
.SUFFIXES:
 | 
					.SUFFIXES:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
targets = zyklonb kike kike.msg
 | 
					targets = zyklonb kike
 | 
				
			||||||
 | 
					
 | 
				
			||||||
all: $(targets)
 | 
					all: $(targets)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -22,6 +22,7 @@ zyklonb: zyklonb.c common.c siphash.c
 | 
				
			|||||||
kike: kike.c common.c siphash.c kike-replies.c
 | 
					kike: kike.c common.c siphash.c kike-replies.c
 | 
				
			||||||
	$(CC) kike.c siphash.c -o $@ $(CFLAGS) $(LDFLAGS)
 | 
						$(CC) kike.c siphash.c -o $@ $(CFLAGS) $(LDFLAGS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
kike-replies.c kike.msg: kike-replies
 | 
					# Generates kike.msg as a by-product
 | 
				
			||||||
 | 
					kike-replies.c: kike-replies
 | 
				
			||||||
	$(SHELL) kike-gen-replies.sh < $< > $@
 | 
						$(SHELL) kike-gen-replies.sh < $< > $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
LC_ALL=C exec awk '
 | 
					LC_ALL=C exec awk '
 | 
				
			||||||
	BEGIN {
 | 
						BEGIN {
 | 
				
			||||||
		# The message catalog is a byproduct
 | 
							# The message catalog is a by-product
 | 
				
			||||||
		msg = "kike.msg"
 | 
							msg = "kike.msg"
 | 
				
			||||||
		print "$quote \"" > msg;
 | 
							print "$quote \"" > msg;
 | 
				
			||||||
		print "$set 1" > msg;
 | 
							print "$set 1" > msg;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user