]> Shamusworld >> Repos - virtualjaguar/commitdiff
Added a 'strip' command to make smaller executables
authorShamus Hammons <jlhamm@acm.org>
Fri, 3 Oct 2003 07:56:20 +0000 (07:56 +0000)
committerShamus Hammons <jlhamm@acm.org>
Fri, 3 Oct 2003 07:56:20 +0000 (07:56 +0000)
Makefile.unix
Makefile.win32

index 2a774255087ea6f782c71f67d14cddac4c531c01..b324be32c1e3933eeec3814103e3f1af9b44ef34 100644 (file)
@@ -81,6 +81,7 @@ obj/%.o: src/%.cpp
 
 vj: $(OBJS)
        $(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+       strip --strip-all vj$(EXESUFFIX)
 #      upx -9 vj$(EXESUFFIX)
 
 # Other stuff that has unusual dependencies
index c2b045b766700de1fd6e1950514fc2a878319ba5..8f56e4a5f3ba6ef5c958dc2339f854e31c973237 100644 (file)
@@ -81,6 +81,7 @@ obj/%.o: src/%.cpp
 
 vj: $(OBJS)
        $(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+       strip --strip-all vj$(EXESUFFIX)
 #      upx -9 vj$(EXESUFFIX)
 
 # Other stuff that has unusual dependencies