I agree with Crandar that Rojava isn't very comparable to either one but if you had to make a comparison I'd say it's closer to Spanish syndicalists than Makhnovshchina.
Ocalan is the founder of the PKK (Kurdistan Workers' Party). As the story goes, The PKK began as a Marxist-Leninist party which sought independence from Turkey and the creation of a communist Kurdish state. However at some point Ocalan became disillusioned with both Marxism and nationalism, and shortly after being captured and imprisoned in Turkey crafted his own political philosophy, Democratic Confederalism, which was heavily influenced by the American leftist Murray Bookchin's ideology Communalism. The PYD (Democratic Union Party), the political wing of the YPG, is a Syrian offshoot/sister party of the PKK and so their political program is based off of Democratic Confederalism.
Some articles:
Democratic confederalism in Kurdistan
Bookchin, Öcalan, and the Dialectics of Democracy
DEMOCRATIC CONFEDERALISM
The Communalist Project
Social Contract of the Democratic Federation of Northern Syria - English translation of Rojava's quasi-constitution
Bookmarks