From 01dbecb2e93aa782685c87021a1bc6912b810c4d Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Thu, 10 Apr 2014 11:16:07 -0400 Subject: c version of lock --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0c3dbd8 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +VERSION=\"0.0.5\" +CC = gcc +CFLAGS = -Os -mtune=native -Wall -Wextra -pedantic +DESTDIR = /usr/local/ + +all: lock + +lock: + $(CC) $(CFLAGS) lock.c -o lock + + +install: all + @install lock $(DESTDIR)/bin/ + +clean: + rm lock -- cgit v1.2.3