# Makefile

###################################################

# Vars

###################################################


p=report_err
p=sysinfo
p=perror
p=ls_SPOOL
p=hello_pipe
p=ls_less
p=setjmp
p=signal_fork.c
p=signal
p=gcd_th

###################################################

# Targets

###################################################


dumb:
	
	gcc -o dumb dumb.c

	dumb

p:
	gcc ${p}.c

pc:
	gcc -c ${pc}.c

re report_err:
	gcc -c report_err.c
run:
	gcc -o gcd_th gcd_th.c
	gcd_th 25 5 12 2 34 15 1000 223
si:

	gcc sysinfo.c
time: gcd_th.c

	gcc -o ${p} ${p}.c
	time gcd_th 25 5 12 2 34 15 1000 223
	time gcd_th 8000 100 2567 34 67888 1000
	time gcd_th 1111111111 34567 9877865 4367

###################################################

# Housekeeping

###################################################


tar:
	-@tar cvf systemCalls.tar \

		Makefile *.c


###################################################

# END

###################################################
