File 0001-Makefile-remove-external-target.patch of Package pkTriggerCord

From: Jiri Slaby <jirislaby@gmail.com>
Date: Thu, 21 Nov 2019 09:53:15 +0100
Subject: Makefile: remove external target
Patch-mainline: no
References: build fix

It causes rebuilds on each invokation.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 268803f096..e2fc6a7851 100644
--- a/Makefile
+++ b/Makefile
@@ -69,9 +69,9 @@ pslr_scsi.o: pslr_scsi_win.c pslr_scsi_linux.c pslr_scsi_openbsd.c
 $(JSONDIR)/js0n.o : $(JSONDIR)/js0n.c $(JSONDIR)/js0n.h
 	$(CC) $(LIN_CFLAGS) -fPIC -c $< -o $@
 
-external: $(JSONDIR)/js0n.o
+EXTERNAL=$(JSONDIR)/js0n.o
 
-%.o : %.c %.h external
+%.o : %.c %.h $(EXTERNAL)
 	$(CC) $(LIN_CFLAGS) -DPKTDATADIR=\"$(PKTDATADIR)\" -fPIC -c $< -o $@
 
 pktriggercord: pktriggercord.c $(OBJS)
-- 
2.24.0