1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
CC = g++ CFLAGS = -fhandle-exceptions -I. -DHAVE_CONFIG_H -Wall OBJS = attr.o cancel.o cleanup.o condvar.o create.o dll.o \ exit.o fork.o global.o misc.o mutex.o private.o sched.o \ signal.o sync.o tsd.o INCL = implement.h pthread.h windows.h LIB = libpthread32.a all: $(LIB) $(LIB): $(OBJS) $(AR) r $(LIB) $(OBJS) clean: -rm $(LIB) *.o