add readme and update makefile
This commit is contained in:
parent
9aa7973d2f
commit
2c867d2bea
2 changed files with 42 additions and 1 deletions
|
@ -2,7 +2,7 @@ CC=gcc --std=gnu99 -g
|
|||
output=myCounter
|
||||
|
||||
all: main.c main.h
|
||||
$(CC) main.c -o $(output)
|
||||
$(CC) main.c -lpthread -o $(output)
|
||||
|
||||
clean:
|
||||
rm -fr *.o vgcore.* $(output)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue