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
|
||||
default: $(OUT)
|
||||
.cpp.o:
|
||||
$(CC) $(INCLUDES) $(CCFLAGS) $(LIBS) -c $< -o $@
|
||||
$(CC) $(INCLUDES) $(CCFLAGS) -c $< -o $@ $(LIBS)
|
||||
$(OUT): $(OBJ)
|
||||
$(CC) $(LIBS) -o $(OUT) $(OBJ)
|
||||
$(CC) -o $(OUT) $(OBJ) $(LIBS)
|
||||
clean:
|
||||
rm -rf $(OBJ) $(OUT) Makefile.bak *~
|
||||
install: $(OUT)
|
||||
|
|
Loading…
Add table
Reference in a new issue