Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Conditional assignment on PREFIX definition

This allows PREFIX to be overridden to install mon in another location when calling make.

ie: ``` PREFIX=/my/custom/path make install```
  • Loading branch information...
commit 3568241a95196655e882836a3e5b5667455e40e4 1 parent bc8467e
Olivier Vaillancourt ovaillancourt authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  Makefile
3  Makefile
... ... @@ -1,5 +1,4 @@
1   -
2   -PREFIX = /usr/local
  1 +PREFIX ?= /usr/local
3 2 SRC = src/mon.c deps/ms/ms.c deps/commander/src/commander.c
4 3 OBJ = $(SRC:.c=.o)
5 4 CFLAGS = -D_GNU_SOURCE -std=c99 -I deps/ms -I deps/commander/src

0 comments on commit 3568241

Please sign in to comment.
Something went wrong with that request. Please try again.