diff options
| -rw-r--r-- | main.c | 1 | ||||
| -rw-r--r-- | makefile | 4 |
2 files changed, 2 insertions, 3 deletions
| @@ -1,5 +1,4 @@ | |||
| 1 | #include <stdio.h> | 1 | #include <stdio.h> |
| 2 | #include <stdlib.h> | ||
| 3 | #include <uuid/uuid.h> | 2 | #include <uuid/uuid.h> |
| 4 | 3 | ||
| 5 | int main(void) | 4 | int main(void) |
| @@ -1,10 +1,10 @@ | |||
| 1 | all: uuid-test | 1 | all: uuid-test |
| 2 | 2 | ||
| 3 | uuid-test: main.o | 3 | uuid-test: main.o |
| 4 | cc -L/usr/local/lib -luuid -s -o $@ main.o | 4 | cc -luuid -s -o $@ main.o |
| 5 | 5 | ||
| 6 | main.o: main.c | 6 | main.o: main.c |
| 7 | cc -Wall -Werror -std=c99 -pedantic -I/usr/local/include -O2 -c main.c -o $@ | 7 | cc -Wall -Werror -std=c99 -pedantic -O2 -c main.c -o $@ |
| 8 | 8 | ||
| 9 | .PHONY: clean | 9 | .PHONY: clean |
| 10 | clean: | 10 | clean: |
