From 379c2c17e68d5d471a6a9673b7e9cd1fb9d99bbb Mon Sep 17 00:00:00 2001 From: 53hornet <53hornet@gmail.com> Date: Sat, 2 Feb 2019 22:59:54 -0500 Subject: Init. --- pgm5/makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pgm5/makefile (limited to 'pgm5/makefile') diff --git a/pgm5/makefile b/pgm5/makefile new file mode 100644 index 0000000..4de261f --- /dev/null +++ b/pgm5/makefile @@ -0,0 +1,11 @@ +all: counter + +counter: counter.c + gcc -D_REENTRANT -o counter counter.c -lpthread + +debug: counter.c + gcc -Wall -g -D_REENTRANT -Datcdebug -o counter counter.c -lpthread + +clean: + rm -f counter + gcc -D_REENTRANT -o counter counter.c -lpthread -- cgit v1.2.3