make clean remove contents of target instead of target
This commit is contained in:
parent
3704f16b53
commit
9cfdb7bea4
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -37,4 +37,5 @@ $(BIN)/%.o: %.c
|
|||
$(CC) -o $(BIN)/$@ $^ -shared -fPIC $(CFLAGS)
|
||||
|
||||
clean:
|
||||
rm -rf $(BIN)
|
||||
rm -rf $(OBJ)
|
||||
rm -rf $(PROGRAM)
|
||||
|
|
Loading…
Reference in a new issue