diff options
| author | Tim Redfern <tim@herge.(none)> | 2013-03-07 11:30:54 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@herge.(none)> | 2013-03-07 11:30:54 +0000 |
| commit | c8b7dd8fadea12792a9e93881dfd5eca461b42e1 (patch) | |
| tree | 9f617a045bdc692aa540c1162f2e9212a37c7407 /rotord/Makefile | |
| parent | 4e2395d52f9da8efbf7385519f4d7d11a7498f90 (diff) | |
install script
Diffstat (limited to 'rotord/Makefile')
| -rw-r--r-- | rotord/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rotord/Makefile b/rotord/Makefile index c69db89..2edfbca 100644 --- a/rotord/Makefile +++ b/rotord/Makefile @@ -82,7 +82,7 @@ COMPILE.cxx = $(CXX) $(MY_CFLAGS) $(CXXFLAGS) $(CPPFLAGS) -c LINK.c = $(CC) $(MY_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) LINK.cxx = $(CXX) $(MY_CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -.PHONY: all objs tags ctags clean distclean help show +.PHONY: all objs tags ctags clean distclean help show install # Delete the default suffixes .SUFFIXES: @@ -97,6 +97,11 @@ Debug: CXXFLAGS += -g3 Debug: $(PROGRAM) +prefix=/usr/local + +Install: rotord + strip rotord + install -m 0755 rotord $(prefix)/bin # Rules for creating dependency files (.d). |
