summaryrefslogtreecommitdiff
path: root/ttcp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ttcp/Makefile')
-rw-r--r--ttcp/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/ttcp/Makefile b/ttcp/Makefile
index a8a063d..f035f7c 100644
--- a/ttcp/Makefile
+++ b/ttcp/Makefile
@@ -49,14 +49,17 @@ LD_LIBS +=
# 'make clobber' already includes 'make clean'
#
-CLEAN_ADDITIONS +=
+CLEAN_ADDITIONS += ttcp
CLOBBER_ADDITIONS +=
-all: ${ARCH} $(SRCS) $(PGM)
+all: ${ARCH} $(SRCS) $(PGM) ttcp
${PGM}: $(OBJS) $(LINK_FILES)
$(make-exe)
+ttcp: ttcp_orig/ttcp.c
+ gcc -o $(@) $<
+
# Install the program(s), appending _g or _p as appropriate.
# for include files, just use $(INSTALL)
install: all