Skip to content

Commit

Permalink
feat: fix make clean
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabaut committed Sep 8, 2023
1 parent ab62ed1 commit 1b1cab7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,16 @@ run: demo

clean:
@echo -en "Cleaning build artifacts: "
rm $(TARGET)
rm src/*.o
rm static/*.o
-rm $(TARGET)
-rm $(TARGET)
-rm src/*.o
-rm static/*.o
@echo -e "\033[1;33mDone.\e[0m"

cleanob:
@echo -en "Cleaning object build artifacts: "
rm src/*.o
-rm src/*.o
-rm static/*.o
@echo -e "\033[1;33mDone.\e[0m"

# Default target (builds everything)
Expand Down

0 comments on commit 1b1cab7

Please sign in to comment.