mirror of
https://github.com/Wind4/vlmcsd.git
synced 2026-05-26 18:41:22 +02:00
Compare commits
4 Commits
db0a404c20
...
090c04f5de
| Author | SHA1 | Date | |
|---|---|---|---|
| 090c04f5de | |||
| 70e03572b2 | |||
| db75edf481 | |||
| 7695c01d98 |
+6
-2
@@ -70,7 +70,7 @@ VERBOSE ?= NO
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
TARGETPLATFORM := $(shell LANG=en_US.UTF-8 $(CC) -v 2>&1 | grep '^Target: ' | cut -f 2 -d ' ')
|
TARGETPLATFORM := $(shell LANG=en_US.UTF-8 LANGUAGE=en_US $(CC) -v 2>&1 | grep '^Target: ' | cut -f 2 -d ' ')
|
||||||
|
|
||||||
ifneq (,$(findstring darwin,$(TARGETPLATFORM)))
|
ifneq (,$(findstring darwin,$(TARGETPLATFORM)))
|
||||||
DARWIN := 1
|
DARWIN := 1
|
||||||
@@ -158,7 +158,7 @@ else
|
|||||||
DLL_NAME ?= ../lib/libkms.so
|
DLL_NAME ?= ../lib/libkms.so
|
||||||
endif
|
endif
|
||||||
|
|
||||||
BASECFLAGS = -DVLMCSD_COMPILER=\"$(notdir $(CC))\" -DVLMCSD_PLATFORM=\"$(TARGETPLATFORM)\" -DCONFIG=\"$(CONFIG)\" -DBUILD_TIME=$(shell date '+%s') -g -Os -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections
|
BASECFLAGS = -DVLMCSD_COMPILER=\"$(notdir $(CC))\" -DVLMCSD_PLATFORM=\"$(TARGETPLATFORM)\" -DCONFIG=\"$(CONFIG)\" -DBUILD_TIME=$(shell date '+%s') -MD -g -Os -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections
|
||||||
BASELDFLAGS =
|
BASELDFLAGS =
|
||||||
STRIPFLAGS =
|
STRIPFLAGS =
|
||||||
CLIENTLDFLAGS =
|
CLIENTLDFLAGS =
|
||||||
@@ -651,3 +651,7 @@ dnsclean:
|
|||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Help is available by typing 'make help' in directory $(shell realpath `pwd`/..). Use 'cd ..' to get there."
|
@echo "Help is available by typing 'make help' in directory $(shell realpath `pwd`/..). Use 'cd ..' to get there."
|
||||||
|
|
||||||
|
OBJS=../build/*.o
|
||||||
|
# Pull-in dependencies generated by -MD
|
||||||
|
-include $(OBJS:.o=.d)
|
||||||
|
|||||||
Reference in New Issue
Block a user