Code

fix bug #1568462 boolean operation remove mask/clip-path
[inkscape.git] / src / Makefile.mingw
index b3afb5cfedb9c7ec535189bf87ae0dce58b63bf7..980695d0aa0b8249b787fd9b8ff313ab208a602a 100644 (file)
@@ -30,12 +30,11 @@ inkscape_version.h: inkscape_version.h.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)
 
 
 
@@ -50,7 +49,8 @@ RES=inkres.o
 
 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) 
@@ -59,7 +59,8 @@ inkscape.exe: libinkscape.a 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) 
@@ -119,5 +120,6 @@ clean:
        -$(RM) *.dll
        -$(RM) extension$(S)plugin$(S)*.o
        -$(RM) extension$(S)plugin$(S)*.dll
+       -$(RM) inkscape.exe inkview.exe inkscape.dbg inkview.dbg