From 3ed2de1dffdc9330537f0c3b94ff33d0baa83b8b Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Fri, 24 Jul 2020 14:21:32 -0400 Subject: [PATCH] Updated make file to use dll instead of a for windows libraries --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index d0e2ba8..89beca6 100644 --- a/makefile +++ b/makefile @@ -14,7 +14,7 @@ libs: directory $(patsubst %, $(LIBDIR)/libProblem%.so,$(PROBLEM_NUMBERS)) #Windows makes windows: allWindows allWindows: libsWindowsMulti ProjectEuler moveBin -libsWindows: directory $(patsubst %, $(LIBDIR)/libProblem%.a,$(PROBLEM_NUMBERS)) +libsWindows: directory $(patsubst %, $(LIBDIR)/libProblem%.dll,$(PROBLEM_NUMBERS)) #Non-build jobs directory: @@ -30,7 +30,7 @@ libsMulti: $(MAKE) libs -j $(NUMCORES) #Building the Libraries for Windows -$(LIBDIR)/libProblem%.a: Source/Problem%.cpp +$(LIBDIR)/libProblem%.dll: Source/Problem%.cpp $(CXX) $(LIBFLAGS) -o $@ $< $(LINKEDLIBS) libsWindowsMulti: $(MAKE) libsWindows -j $(NUMCORESWIN)