diff --git a/src/Makefile.mingw b/src/Makefile.mingw
index b3afb5cfedb9c7ec535189bf87ae0dce58b63bf7..980695d0aa0b8249b787fd9b8ff313ab208a602a 100644 (file)
--- a/src/Makefile.mingw
+++ b/src/Makefile.mingw
# D E P E N D E N C I E S
###################################
-include ./make.ofiles
include ./make.dep
-INC += $(INCLUDEPATH)
+INC += $(DEPTOOL_INCLUDE)
-OBJ = $(OBJECTS)
+OBJ = $(DEPTOOL_OBJECTS)
inkscape.exe: libinkscape.a main.o winmain.o $(RES)
$(CXX) --export-dynamic -o inkscape.exe main.o winmain.o $(RES) libinkscape.a $(LIBS)
-# strip inkscape.exe
+ $(OBJCOPY) --only-keep-debug inkscape.exe inkscape.dbg
+ strip inkscape.exe
# DLL version. we need to make this work
#inkscape.exe: inkscape.dll main.o winmain.o $(RES)
inkview.exe: libinkscape.a inkview.o $(RES)
$(CXX) -o inkview.exe inkview.o $(RES) libinkscape.a $(LIBS)
-# strip inkview.exe
+ $(OBJCOPY) --only-keep-debug inkview.exe inkview.dbg
+ strip inkview.exe
# DLL version. we need to make this work
# inkview.exe: inkscape.dll inkview.o $(RES)
-$(RM) *.dll
-$(RM) extension$(S)plugin$(S)*.o
-$(RM) extension$(S)plugin$(S)*.dll
+ -$(RM) inkscape.exe inkview.exe inkscape.dbg inkview.dbg