Skip to content

Commit

Permalink
Created a builder and installer Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
amrhassan committed May 17, 2014
1 parent 207d5f5 commit 279652f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
GO=go
EXECNAME=psmpc
prefix := /usr/local

${EXECNAME}: *.go */*.go
${GO} build -o "${EXECNAME}"

install: ${EXECNAME}
install -Dm755 "${EXECNAME}" "${prefix}/bin/${EXECNAME}"
install -Dm755 "gui/ui.glade" "${prefix}/share/${EXECNAME}/gui/ui.glade"
install -Dm755 "gui/icon.png" "${prefix}/share/${EXECNAME}/gui/icon.png"

0 comments on commit 279652f

Please sign in to comment.