Fix compile error on -lpthread
This commit is contained in:
parent
9ae274b0c1
commit
f527bc5d45
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@ LIBS = -lpthread
|
||||||
.PHONY: clean default
|
.PHONY: clean default
|
||||||
default: $(OUT)
|
default: $(OUT)
|
||||||
.cpp.o:
|
.cpp.o:
|
||||||
$(CC) $(INCLUDES) $(CCFLAGS) $(LIBS) -c $< -o $@
|
$(CC) $(INCLUDES) $(CCFLAGS) -c $< -o $@ $(LIBS)
|
||||||
$(OUT): $(OBJ)
|
$(OUT): $(OBJ)
|
||||||
$(CC) $(LIBS) -o $(OUT) $(OBJ)
|
$(CC) -o $(OUT) $(OBJ) $(LIBS)
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(OBJ) $(OUT) Makefile.bak *~
|
rm -rf $(OBJ) $(OUT) Makefile.bak *~
|
||||||
install: $(OUT)
|
install: $(OUT)
|
||||||
|
|
Loading…
Add table
Reference in a new issue