Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
Remove .o file after build.
Browse files Browse the repository at this point in the history
  • Loading branch information
residuum committed Oct 21, 2015
1 parent dcb40c8 commit 4c83295
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ all: $(addsuffix .$(EXTENSION),$(OBJECTS)) $(SHARED_LIB)
%.$(EXTENSION): %.o $(SHARED_LIB)
$(CC) $(ALL_LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(ALL_LIBS) $(SHARED_LIB)
chmod a-x "$*.$(EXTENSION)"
rm -f "$*.o"

# this links everything into a single binary file
$(LIBRARY_NAME)_vars:
Expand Down

0 comments on commit 4c83295

Please sign in to comment.