Initial commit
[c2run.git] / Makefile
blob5e2eb7bd086a7f53e73d5dc36e5fde5e9190fe4b
1 PREFIX ?= /usr/local
2 DESTDIR ?=
3 BINDIR ?= $(PREFIX)/bin
4 MANDIR ?= $(PREFIX)/share/man
6 CFLAGS ?= -O3 -march=native
7 CFLAGS += -std=c99 -Wall
9 all: cscript
11 cscript:
13 install: cscript
14 @install -v -d "$(DESTDIR)$(BINDIR)" && install -v -m 0755 cscript "$(DESTDIR)$(BINDIR)/cscript"
16 clean:
17 rm -f cscript
19 .PHONY: all clean install