Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17832

Detecting OS in a makefile

$
0
0

I have a program that I would like to install that has a comment in the makefile like

# Uncomment the following if using Red Hat or CentOS #CXX = g++44 

My question is, isn't there a simple way for the makefile to make that determination itself without me having to go in and uncomment this and that?

submitted by snurfish
[link][8 comments]

Viewing all articles
Browse latest Browse all 17832

Trending Articles