mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 00:31:08 +00:00
16 lines
201 B
Makefile
16 lines
201 B
Makefile
|
CC=gcc
|
||
|
CFLAGS=-g -O -Wall -I.. -D_REENTRANT
|
||
|
LIBPTHREAD=../libpthread.a
|
||
|
|
||
|
PROGS=ex1 ex2 ex3 ex4 ex5 proxy
|
||
|
|
||
|
all: $(PROGS)
|
||
|
|
||
|
.c:
|
||
|
$(CC) $(CFLAGS) -o $* $*.c $(LIBPTHREAD)
|
||
|
|
||
|
$(PROGS):
|
||
|
|
||
|
clean:
|
||
|
rm -f $(PROGS)
|