summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.sol.mingw6
-rw-r--r--lib/Makefile.sol.mingw4
2 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.sol.mingw b/Makefile.sol.mingw
index 7fb7ccc..2aafe72 100644
--- a/Makefile.sol.mingw
+++ b/Makefile.sol.mingw
@@ -1,5 +1,7 @@
+SUBDIRS = lib
+
all:
- $(MAKE) -C lib -f Makefile.sol.mingw all
+ for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir -f Makefile.sol.mingw all ; done
clean:
- $(MAKE) -C lib -f Makefile.sol.mingw clean
+ for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir -f Makefile.sol.mingw clean ; done
diff --git a/lib/Makefile.sol.mingw b/lib/Makefile.sol.mingw
index 999c48e..d581a1e 100644
--- a/lib/Makefile.sol.mingw
+++ b/lib/Makefile.sol.mingw
@@ -10,8 +10,8 @@ TARGET = Baltisot-sol.a
all: $(TARGET)
$(TARGET): $(OBJECTS)
- $(AR) r Baltisot-sol.a $(OBJECTS)
- $(RANLIB) Baltisot-sol.a
+ $(AR) r $(TARGET) $(OBJECTS)
+ $(RANLIB) $(TARGET)
clean:
rm -f *.o $(TARGET)