Welcome!
Log In
Create A New Profile
Home
>
Miscellaneous
>
Offtopic
> Topic
Advanced
makefile question
Posted by
g_man
Forum List
Message List
New Topic
g_man
makefile question
September 07, 2009 01:16AM
Registered: 15 years ago
Posts: 444
Is it possible to detect the OS that is running in a makefile. I'm trying to download and install devkitPRO on my flashdrive(got it to work for linux) and I want it to use a different set of rules for different OS's.
Reply
Quote
scanff
Re: makefile question
September 07, 2009 06:24AM
Registered: 16 years ago
Posts: 703
Maybe via a system environment variable? Just a guess :)
Reply
Quote
g_man
Re: makefile question
September 07, 2009 07:08AM
Registered: 15 years ago
Posts: 444
I'll try that, I was wondering if there was another way. Makefiles are not my strong suit
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login