summaryrefslogblamecommitdiff
path: root/pgm5/makefile
blob: 4de261f0b51cbd00249c2c703dcfe4633d71a006 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
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