diff options
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 11 |
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 @@ | |||
| 1 | all: uuid-test | ||
| 2 | |||
| 3 | uuid-test: main.o | ||
| 4 | cc -L/usr/local/lib -luuid -s -o $@ main.o | ||
| 5 | |||
| 6 | main.o: main.c | ||
| 7 | cc -Wall -Werror -std=c99 -pedantic -I/usr/local/include -O2 -c main.c -o $@ | ||
| 8 | |||
| 9 | .PHONY: clean | ||
| 10 | clean: | ||
| 11 | rm -f main.o uuid-test | ||
