X-Git-Url: http://git.harvie.cz/?p=mirrors%2FPrograms.git;a=blobdiff_plain;f=c%2Fpthread_extra%2FMakefile;h=cf4e67474bf7817aa8da742dffa357bc6fe6d522;hp=954e2f6c0018bbfa0e036b3764cd966948ed7025;hb=a8e71e8fffa0159f06b2c469fb2d3dfd8222b306;hpb=e7d1ce5c0f321dc0e5894527c1d1401369e46a1b diff --git a/c/pthread_extra/Makefile b/c/pthread_extra/Makefile index 954e2f6..cf4e674 100644 --- a/c/pthread_extra/Makefile +++ b/c/pthread_extra/Makefile @@ -11,13 +11,15 @@ CXXFLAGS+=$(COPT) $(CERR) $(CDEF) -std=c++11 $(CLIB) LDFLAGS+=$(COPT) $(LIB) BIN=test -OBJ=pthread_multi.o pthread_msgqueue.o test.o +OBJ=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_pause.o -o test_pause + clean: rm -f $(BIN) $(OBJ) $(DEPS)