NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Microcontroller Programming » Basic Makefile Help

September 29, 2011
by swragg
swragg's Avatar

I would like to know the significance of ../ in makefiles

does this mean look two folders up from current folder

( I am guessing that a folder is the same as a directory)

I have been struggling uploading Tempsensor (I have posted in support forum)

I am using a mac with lion

I did manage to get initailload to work

I now seem to be struggling with making libnerdkits available

Thanks in anticipation

Simon

September 29, 2011
by bretm
bretm's Avatar

not 100% sure on mac but on windows ../ is one folder up and ../../ would be two folders up.

September 29, 2011
by swragg
swragg's Avatar

Thanks bretm

thats really helpful

Simon

October 06, 2011
by Mindale
Mindale's Avatar

Yep, just to confirm, ../ means go up a folder so for example in the line:

../libnerdkits

means go up one level from the current directory and then go into the libnerdkits folder. So in my case, from the tempsensor folder (where the Makefile is located) we are moving up into the nerkits code folder then into the libnerdkits folder

Post a Reply

Please log in to post a reply.

Did you know that Pulse Width Modulation (PWM) can be used to control the speed of a motor digitally? Learn more...