llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile

17 lines
282 B
Makefile

C_SOURCES := main.c
ifeq "$(OS)" ""
OS = $(shell uname -s)
endif
ifeq "$(OS)" "Darwin"
LDFLAGS = $(CFLAGS) -Xlinker -dead_strip
else
CFLAGS += -fdata-sections -ffunction-sections
LDFLAGS = $(CFLAGS) -Wl,--gc-sections
endif
MAKE_DSYM := NO
include Makefile.rules