mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-06 17:13:59 -05:00
Updated make file to use dll instead of a for windows libraries
This commit is contained in:
4
makefile
4
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)
|
||||
|
||||
Reference in New Issue
Block a user