Make the clean target actually work

This commit is contained in:
Marcin Owsiany 2019-05-15 21:41:49 +02:00
parent 57c481f506
commit ab9cd8cb91

View File

@ -52,7 +52,7 @@ test: $(SRC_OBJECTS) $(TESTS_OBJECTS)
@./$(TESTS_EXECUTABLE)
clean:
@rm -rf {$(SRC_DIR),$(TESTS_DIR)}/*.o $(EXECUTABLE) $(TESTS_EXECUTABLE)
@rm -rf $(SRC_DIR)/*.o $(TESTS_DIR)/*.o $(EXECUTABLE) $(TESTS_EXECUTABLE)
install:
@install -d $(DESTDIR)$(PREFIX)/bin