Skip to content

Compilation on Windows (PowerShell) #5

@jgranduel

Description

@jgranduel

Last thing I noticed! Not the most important thing, but can be surprising!

I compiled your project on a Windows machine on a PowerShell console.
As PowerShell has aliased rm (rm -> Remove-Item), rm -rf doesn't work, but rm -r does.
So in Makefile, the default was broken:

cleanup:
	rm -rf bin
	rm -f src/ws4sqlite

and using rm.exe was required (or I could have unalias rm).

My question is : is force -f parameter (rm -rf) necessary in some cicumstances? if not, could it be removed?
Thanks!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions