- or download this
.IF "$(CCTYPE)" == "GCC"
GCC_VERSION *= $(shell gcc -dumpversion)
...
GCC_4XX *= define
.ENDIF
.ENDIF
- or download this
.IF "$(CCTYPE)" == "GCC"
GCC_VERSION *= $(shell gcc -dumpversion)
...
LIBC += -static-libgcc
.ENDIF
.ENDIF
- or download this
CCTYPE *= GCC
.IF "$(CCTYPE)" == "GCC"
...
@echo CFLAGS $(CFLAGS)
@echo LIBC $(LIBC)
$(NOOP)
- or download this
$ dmake -f makefile.mk
dmake: Executing shell macro: gcc -dumpversion
dmake: Executing shell macro: gcc -dumpversion
...
GCC_4XX define
CFLAGS -static-libgcc
LIBC -static-libgcc