fixed libs in makefile
This commit is contained in:
parent
639c8e8815
commit
bf0ceb5c1f
5
Makefile
5
Makefile
|
@ -10,13 +10,14 @@ OBJS := $(patsubst %.cpp, %.o, $(SRCS))
|
|||
|
||||
all: $(TARGET)
|
||||
$(TARGET): $(OBJS)
|
||||
$(CC) $(LIBPATHS) $(LIBS) -o $@ $^
|
||||
$(CC) $(LIBPATHS) -o $@ $^ $(LIBS)
|
||||
%.o: %.cpp
|
||||
$(CC) $(CFLAGS) -lpthread -c $<
|
||||
clean:
|
||||
rm -rf $(TARGET) *.o
|
||||
all: run
|
||||
run: $(TARGET)
|
||||
build: $(TARGET)
|
||||
run: build
|
||||
./$(TARGET)
|
||||
pch: include/crow_all.h.gch
|
||||
include/crow_all.h.gch: include/crow_all.h
|
||||
|
|
Loading…
Reference in New Issue
Block a user