Code

Fixed problem when swatches were larger than provided area
[inkscape.git] / src / Makefile.mingw
index b3afb5cfedb9c7ec535189bf87ae0dce58b63bf7..d0f612a1e440b70ae574f5c919ee97549facd03e 100644 (file)
@@ -50,7 +50,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 +60,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 +121,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