# I expect these variables to be set already:
# NKDir, NKIncDir, NKBin

NKFiles = ¶
	{NKDir}NKInit.s							¶
	{NKDir}NKReplacementInit.s				¶
	{NKDir}NKBuiltinInit.s					¶
	{NKDir}NKProcFlagsTbl.s					¶
	{NKDir}NKProcInfoTbl.s					¶
	{NKDir}NKExceptions.s					¶
	{NKDir}NKIntHandlers.s					¶
	{NKDir}NKFloatInts.s					¶
	{NKDir}NKIntMisc.s						¶
	{NKDir}NKPaging.s						¶
	{NKDir}NKTranslation.s					¶
	{NKDir}NKVMCalls.s						¶
	{NKDir}NKPowerCalls.s					¶
	{NKDir}NKRTASCalls.s					¶
	{NKDir}NKCache.s						¶
	{NKDir}NKMPCalls.s						¶
	{NKDir}NKSync.s							¶
	{NKDir}NKTasks.s						¶
	{NKDir}NKAddressSpaces.s				¶
	{NKDir}NKPoolAllocator.s				¶
	{NKDir}NKTimers.s						¶
	{NKDir}NKScheduler.s					¶
	{NKDir}NKIndex.s						¶
	{NKDir}NKPrimaryIntHandlers.s			¶
	{NKDir}NKConsoleLog.s					¶
	{NKDir}NKSleep.s						¶
	{NKDir}NKThud.s							¶
	{NKDir}NKScreenConsole.s				¶
	{NKDir}NKAdditions.s					¶

NKIncludes = ¶
	{NKDir}NKMacros.s						¶
	{NKDir}NKEquates.s						¶
	{NKIncDir}InfoRecords.a					¶
	{NKIncDir}EmulatorPublic.a				¶
	{NKIncDir}NKPublic.a					¶
	{NKIncDir}NKOpaque.a					¶

# We get warning 3202 from ALIGN directives -- kill it
{NKBin}						Ä	{NKDir}NanoKernel.s {NKFiles} {NKIncludes}
	PPCAsm -o {Targ} -w 3202 -i {NKIncDir} -i "{AIncludes}" {NKDir}NanoKernel.s
