Update.
[kopensolaris-gnu/glibc.git] / linuxthreads / Examples / Makefile
1 CC=gcc
2 CFLAGS=-g -O -Wall -I.. -D_REENTRANT
3 LIBPTHREAD=../libpthread.a
4
5 PROGS=ex1 ex2 ex3 ex4 ex5 proxy
6
7 all: $(PROGS)
8
9 .c:
10         $(CC) $(CFLAGS) -o $* $*.c $(LIBPTHREAD)
11
12 $(PROGS):
13
14 clean:
15         rm -f $(PROGS)