Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ifeq ($(gcc 2> /dev/null; echo $?), 1)
- CXX=gcc
- else
- CXX=clang
- endif
- all:
- $(CXX)
- $ kek
- -bash: kek: command not found
- $
- gcc: fatal error: no input files
- compilation terminated.
- $ gcc 2> /dev/null; echo $?
- 1
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement