summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..e56f0ef
--- /dev/null
+++ b/makefile
@@ -0,0 +1,11 @@
1all: uuid-test
2
3uuid-test: main.o
4 cc -L/usr/local/lib -luuid -s -o $@ main.o
5
6main.o: main.c
7 cc -Wall -Werror -std=c99 -pedantic -I/usr/local/include -O2 -c main.c -o $@
8
9.PHONY: clean
10clean:
11 rm -f main.o uuid-test