make clean remove contents of target instead of target

This commit is contained in:
jacekpoz 2024-02-09 14:20:43 +01:00
parent 3704f16b53
commit 9cfdb7bea4
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C

View file

@ -37,4 +37,5 @@ $(BIN)/%.o: %.c
$(CC) -o $(BIN)/$@ $^ -shared -fPIC $(CFLAGS)
clean:
rm -rf $(BIN)
rm -rf $(OBJ)
rm -rf $(PROGRAM)