Statistics
| Branch: | Revision:

grapes / som / utils.mak @ a0384990

History | View | Annotate | Download (267 Bytes)

1
cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \
2
              > /dev/null 2>&1; then echo "$(1)"; fi ;)
3

    
4
ld-option = $(shell if echo "int main(){return 0;}" | \
5
		$(CC) $(CFLAGS) $(1) -o /dev/null -xc - \
6
		> /dev/null 2>&1; then echo "$(1)"; fi ;)