Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

'make install' rule

  • Loading branch information...
commit 1bf0755dbb8e00c2475256fb44eef1a7923e280f 1 parent 4a2bd9b
Sound and Fury authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
View
6 Makefile
@@ -3,11 +3,15 @@
CC ?= gcc
CFLAGS ?= -Wall
VERSION := `git describe --tags`
+PREFIX ?= /usr/local
all: quirc
+install: all
+ install -sD quirc $(PREFIX)/bin/quirc
+
quirc: quirc.c ttyraw.o ttyraw.h ttyesc.o ttyesc.h irc.o irc.h bits.o bits.h colour.o colour.h numeric.h
- ./gitversion
+ -./gitversion
$(CC) $(CFLAGS) -o quirc quirc.c ttyraw.o ttyesc.o irc.o bits.o colour.o
ttyraw.o: ttyraw.c ttyraw.h
Please sign in to comment.
Something went wrong with that request. Please try again.