From 78ddb27db7fcecaddb83d7b5c39cc527a41f7b1a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 12 Oct 2012 14:44:25 -0400 Subject: [PATCH] Makefile: add SCRIPTS for non-compiled scripts. These scripts will be distributed, but not cleaned up. This is useful if running your package is too complicated to wedge into the Makefile, and you want to pull it out into run.sh or whatever. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 198c02e..2316c1d 100644 --- a/Makefile +++ b/Makefile @@ -25,12 +25,13 @@ PACKAGE = hw0 VERSION = 1 RELEASE = $(COURSE)-$(PACKAGE)-$(VERSION) RUN_PROGRAM = hello_world +SCRIPTS = C_PROGRAMS = hello_world CXX_PROGRAMS = goodbye_world PROGRAMS = $(C_PROGRAMS) $(CXX_PROGRAMS) # Define the source files that will be distributed in the tarball -SOURCE = *.c *.cpp *.h COPYING Makefile README +SOURCE = *.c *.cpp *.h COPYING Makefile README $(SCRIPTS) # Define a list of object files needed to link PROGRAM. We're setting # things up here so that a program % depends on the object file %.o. -- 2.26.2