mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-11 08:36:38 -04:00
Merge pull request #1281 from Izder456/master
Implement LINK variable in Makefile
This commit is contained in:
commit
fc676d906d
5
Makefile
5
Makefile
@ -173,6 +173,9 @@ else
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
# link with CC by default
|
||||
LINK ?= $(CC)
|
||||
|
||||
default: $(PLAT)
|
||||
|
||||
web:
|
||||
@ -263,7 +266,7 @@ clean:
|
||||
$(BUILD_DIR):
|
||||
mkdir -p $(BUILD_DIR)
|
||||
$(ENAME): $(BUILD_DIR) $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) -o $@$(OEXT) $(OBJECTS) $(EXTRA_LIBS) $(LIBS)
|
||||
$(LINK) $(LDFLAGS) -o $@$(OEXT) $(OBJECTS) $(EXTRA_LIBS) $(LIBS)
|
||||
|
||||
|
||||
# macOS app bundle
|
||||
|
Loading…
x
Reference in New Issue
Block a user