From bf0ceb5c1f4b20e4e2ac68ed675346840e13e35d Mon Sep 17 00:00:00 2001 From: tux Date: Sat, 15 Jun 2024 17:09:46 -0400 Subject: [PATCH] fixed libs in makefile --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4f35430..8e3ef80 100755 --- a/Makefile +++ b/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