diff --git a/threads/makefile b/threads/makefile index 35f83e4..d8de9c1 100644 --- a/threads/makefile +++ b/threads/makefile @@ -4,5 +4,8 @@ output=myCounter all: main.c main.h $(CC) main.c -lpthread -o $(output) +run: all + ./$(output) + clean: rm -fr *.o vgcore.* $(output)