ref: e3c286305c8ce6faa45646a6f8d919137a32b6dd
parent: 0712602f03f32a5d168c69f1f071085a42939652
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Aug 20 13:22:06 EDT 2018
[driver/posix] Don't generate local copies of the executables
--- a/driver/posix/Makefile
+++ b/driver/posix/Makefile
@@ -17,16 +17,10 @@
all: $(TARGETS)
-$(BINDIR)/scc: scc
- cp scc $@
-
-$(BINDIR)/scpp: cpp
- cp cpp $@
-
-scc: scc.o $(LIBDIR)/libscc.a
+$(BINDIR)/scc: scc.o $(LIBDIR)/libscc.a
$(CC) $(SCC_LDFLAGS) scc.o -lscc -o $@
-cpp: cpp.sh config.h
+$(BINDIR)/scpp: cpp.sh config.h
set -x ;\
trap "rm -f $$$$.sh" 0 2 3;\
rm -f $@ ;\