Added common include for simple C programs, and threads-intro code
This commit is contained in:
14
threads-intro/Makefile
Normal file
14
threads-intro/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
FLAGS = -Wall -pthread
|
||||
INCLUDES = ../include
|
||||
|
||||
all: t0 t1
|
||||
|
||||
clean:
|
||||
rm -f t0 t1
|
||||
|
||||
t0: t0.c
|
||||
gcc -I $(INCLUDES) -o t0 t0.c $(FLAGS)
|
||||
|
||||
t1: t1.c
|
||||
gcc -I $(INCLUDES) -o t1 t1.c $(FLAGS)
|
||||
Reference in New Issue
Block a user