Skip to content

Commit

Permalink
Basic install target in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Fairhurst committed Jul 1, 2014
1 parent 89169d8 commit 3556be0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,18 @@ TESTOBJS=$(addprefix bin/tests/, $(TESTNAMES:.cpp=.o))

include wmake.mk

prefix=/usr/local

install: bin/wake
mkdir -p $(prefix)/bin
mkdir -p $(prefix)/share/wake/stdtable
mkdir -p $(prefix)/share/wake/stdobj
install -m 0755 bin/wake $(prefix)/bin
install -m 0644 $(WAKETABLEOBJS) $(prefix)/share/wake/stdtable
install -m 0644 bin/wakeobj/std.o $(prefix)/share/wake/stdobj

.PHONY: install

windowsbuildready: $(GENOBJS) $(WAKETABLEINCLUDES) bin/wakeobj/std.o
zip windowsbuildready -r .

Expand Down

0 comments on commit 3556be0

Please sign in to comment.