Browse Source

Add strip to makefile

Pabloader 5 years ago
parent
commit
c05e26f715
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Makefile

+ 3
- 0
Makefile View File

@@ -39,6 +39,9 @@ clean:
39 39
 	
40 40
 $(EXECUTABLE): $(OBJECTS)
41 41
 	$(CPP) $(LDFLAGS) $(OBJECTS) -o $@ $(LIBRARIES)
42
+ifneq ($(DEBUG),1)
43
+	strip $@
44
+endif
42 45
 
43 46
 .cpp.o:
44 47
 	$(CPP) $(INCLUDES) -c $(CPPFLAGS) $< -o $@

Loading…
Cancel
Save