X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=c%2Fpthread_extra%2FMakefile;h=0022774df87df999bafd766d3034187442c0640e;hb=de8021a10a2d637bb82fcfbf59ab419605f2ae0e;hp=1197cca9d85dcaa98a655dba50a5528a4fa8feb4;hpb=24286ba9a7ae3a8c6f5eefe9455e18bd758e742b;p=mirrors%2FPrograms.git diff --git a/c/pthread_extra/Makefile b/c/pthread_extra/Makefile index 1197cca..0022774 100644 --- a/c/pthread_extra/Makefile +++ b/c/pthread_extra/Makefile @@ -11,14 +11,14 @@ CXXFLAGS+=$(COPT) $(CERR) $(CDEF) -std=c++11 $(CLIB) LDFLAGS+=$(COPT) $(LIB) BIN=test -OBJ=pthread_user_data.o pthread_pause.o pthread_multi.o pthread_msgqueue.o test.o +OBJ=pthread_user_data.o pthread_sleep.o pthread_pause.o pthread_multi.o pthread_msgqueue.o test.o all: $(BIN) $(BIN): $(OBJ) $(CXX) -o $(BIN) $(OBJ) $(LDFLAGS) strip --strip-unneeded $(BIN) - gcc -lpthread -I . test_pause.c pthread_user_data.o pthread_pause.o -o test_pause + gcc -lpthread -I . test_pause.c pthread_user_data.o pthread_pause.o pthread_sleep.o -o test_pause clean: rm -f $(BIN) $(OBJ) $(DEPS)