| CC = $(cc) -nologo |
CC = $(cc) -nologo |
| version = $(cc) |
version = $(cc) |
| |
|
| opt ?= /Ox |
opt ?= -Ox |
| |
|
| obj = .obj |
obj = .obj |
| exe = .exe |
exe = .exe |
| opt ?= -O2 -fomit-frame-pointer |
opt ?= -O2 -fomit-frame-pointer |
| endif |
endif |
| |
|
| |
ifeq ($(comp),cc) |
| |
CC = $(cc) |
| |
|
| |
ifeq ($(shell uname),HP-UX) |
| |
version = ($(cc) -V -E - < /dev/null > /dev/null) |
| |
else |
| |
version = $(cc) -V |
| |
endif |
| |
|
| |
opt ?= -fast |
| |
endif |
| |
|
| obj ?= .o |
obj ?= .o |
| exe ?= |
exe ?= |
| |
|
| |
|
| %$(id)$(exe): %$(obj) |
%$(id)$(exe): %$(obj) |
| $(CC) $(LDFLAGS) $(TARGET_ARCH) $^ -o $@ |
$(CC) $(LDFLAGS) $(TARGET_ARCH) $^ -o $@ |
| strip $@ |
|
| |
|
| version: |
version: |
| @$(version) 2>&1 |
@$(version) 2>&1 |