Canonicalize variable usage in testsuite Makefiles

This test streamlines our use of variables that are expected by
Makefile.rules throughout the test suite. Mostly it replaced
potentially dangerous overrides and updates of variables like CFLAGS
with safe assignments to variables reserved for this purpose like
CFLAGS_EXTRAS.

Differential Revision: https://reviews.llvm.org/D67984

llvm-svn: 372795
This commit is contained in:
Adrian Prantl 2019-09-25 00:36:00 +00:00
parent 24f6317634
commit 5c4c9e6172
146 changed files with 265 additions and 220 deletions

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS = -mthumb
CFLAGS_EXTRAS := -mthumb
include Makefile.rules

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS = -mthumb
CFLAGS_EXTRAS := -mthumb
include Makefile.rules

View File

@ -1,4 +1,3 @@
OBJC_SOURCES := call-throws.m
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,4 +1,3 @@
OBJC_SOURCES := main.m
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -std=c99
CFLAGS_EXTRAS := -std=c99
include Makefile.rules

View File

@ -3,6 +3,7 @@
# system headers.
NO_TEST_COMMON_H := 1
CXXFLAGS += -I $(SRCDIR)/root/usr/include/c++/include/ -I $(SRCDIR)/root/usr/include/ -nostdinc -nostdinc++ -nostdlib++
CXXFLAGS_EXTRAS := -I $(SRCDIR)/root/usr/include/c++/include/ -I $(SRCDIR)/root/usr/include/ -nostdinc -nostdinc++ -nostdlib++
CXX_SOURCES := main.cpp
include Makefile.rules

View File

@ -1,4 +1,3 @@
OBJC_SOURCES := main.m
LD_EXTRAS := -framework Cocoa
include Makefile.rules
LDFLAGS += -framework Cocoa

View File

@ -1,4 +1,5 @@
OBJCXX_SOURCES := main.mm util.mm
include Makefile.rules
LDFLAGS += -framework Foundation
LD_EXTRAS := -framework Foundation
include Makefile.rules

View File

@ -1,5 +1,6 @@
OBJC_SOURCES := main.m
include Makefile.rules
LDFLAGS += -framework Foundation -framework CloudKit
LD_EXTRAS := -framework Foundation -framework CloudKit
include Makefile.rules

View File

@ -1,4 +1,5 @@
OBJC_SOURCES := main.m
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,4 +1,5 @@
CXX_SOURCES := main.cpp
CXXFLAGS += -std=c++11
CXXFLAGS_EXTRAS := -std=c++11
include Makefile.rules

View File

@ -1,5 +1,6 @@
OBJC_SOURCES := main.m foo.m
include Makefile.rules
LDFLAGS += -framework Foundation
LD_EXTRAS := -framework Foundation
include Makefile.rules

View File

@ -1,4 +1,4 @@
CFLAGS_EXTRAS += -std=c99
CFLAGS_EXTRAS := -std=c99
LD_FLAGS := -dynamiclib
include Makefile.rules

View File

@ -1,8 +1,9 @@
OBJC_SOURCES := main.m
CFLAGS_EXTRAS += -g0 # No debug info.
CFLAGS_EXTRAS := -g0 # No debug info.
MAKE_DSYM := NO
include Makefile.rules
LDFLAGS += -framework Foundation
LD_EXTRAS := -framework Foundation
include Makefile.rules

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -std=c99
CFLAGS_EXTRAS := -std=c99
include Makefile.rules

View File

@ -1,5 +1,5 @@
CXX_SOURCES := main.cpp
CFLAGS_EXTRAS += -mmpx -fcheck-pointer-bounds -fuse-ld=bfd
CFLAGS_EXTRAS := -mmpx -fcheck-pointer-bounds -fuse-ld=bfd
include Makefile.rules

View File

@ -1,5 +1,5 @@
CXX_SOURCES := main.cpp
CFLAGS_EXTRAS += -mmpx -fcheck-pointer-bounds -fuse-ld=bfd
CFLAGS_EXTRAS := -mmpx -fcheck-pointer-bounds -fuse-ld=bfd
include Makefile.rules

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -std=c99
CFLAGS_EXTRAS := -std=c99
include Makefile.rules

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -std=c99
CFLAGS_EXTRAS := -std=c99
include Makefile.rules

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -std=c99
CFLAGS_EXTRAS := -std=c99
include Makefile.rules

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -std=c99 -gcolumn-info
CFLAGS_EXTRAS := -std=c99 -gcolumn-info
include Makefile.rules

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -std=c99
CFLAGS_EXTRAS := -std=c99
include Makefile.rules

View File

@ -1,7 +1,8 @@
CXX_SOURCES := main.cpp
ifneq (,$(findstring icc,$(CC)))
CXXFLAGS += -debug inline-debug-info
CXXFLAGS_EXTRAS := -debug inline-debug-info
endif
include Makefile.rules

View File

@ -1,7 +1,7 @@
C_SOURCES := main.c
ifneq (,$(findstring icc,$(CC)))
CFLAGS += -debug inline-debug-info
CFLAGS_EXTRAS := -debug inline-debug-info
endif
include Makefile.rules

View File

@ -1,7 +1,8 @@
CXX_SOURCES := main.cpp
ifneq (,$(findstring icc,$(CC)))
CXXFLAGS += -debug inline-debug-info
CXXFLAGS_EXTRAS := -debug inline-debug-info
endif
include Makefile.rules

View File

@ -1,7 +1,8 @@
CXX_SOURCES := main.cpp
ifneq (,$(findstring icc,$(CC)))
CXXFLAGS += -debug inline-debug-info
CXXFLAGS_EXTRAS := -debug inline-debug-info
endif
include Makefile.rules

View File

@ -1,7 +1,7 @@
C_SOURCES := main.c
ifneq (,$(findstring icc,$(CC)))
CFLAGS += -debug inline-debug-info
CFLAGS_EXTRAS := -debug inline-debug-info
endif
include Makefile.rules

View File

@ -1,5 +1,6 @@
OBJC_SOURCES := main.m
include Makefile.rules
LDFLAGS += -framework Foundation
LD_EXTRAS := -framework Foundation
include Makefile.rules

View File

@ -1,7 +1,7 @@
C_SOURCES := main.c
ifneq (,$(findstring icc,$(CC)))
CFLAGS += -debug inline-debug-info
CFLAGS_EXTRAS := -debug inline-debug-info
endif
include Makefile.rules

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -std=c99
CFLAGS_EXTRAS := -std=c99
include Makefile.rules

View File

@ -1,7 +1,8 @@
CXX_SOURCES := main.cpp
ifneq (,$(findstring icc,$(CC)))
CXXFLAGS += -debug inline-debug-info
CXXFLAGS_EXTRAS := -debug inline-debug-info
endif
include Makefile.rules

View File

@ -1,7 +1,8 @@
OBJCXX_SOURCES := main.mm
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,5 +1,4 @@
CXX_SOURCES := main.cpp
LD_EXTRAS := -framework Accelerate
include Makefile.rules
LDFLAGS += -framework Accelerate

View File

@ -1,7 +1,8 @@
OBJC_SOURCES := main.m
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,7 +1,8 @@
OBJC_SOURCES := main.m
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,7 +1,8 @@
OBJC_SOURCES := main.m
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,7 +1,8 @@
OBJC_SOURCES := main.m
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,6 +1,7 @@
CXX_SOURCES := main.cpp
USE_LIBSTDCPP := 0
include Makefile.rules
CXXFLAGS += -O0
CXXFLAGS_EXTRAS := -O0
include Makefile.rules

View File

@ -1,4 +1,5 @@
CXX_SOURCES := main.cpp
CXXFLAGS += -std=c++11
CXXFLAGS_EXTRAS := -std=c++11
USE_LIBCPP := 1
include Makefile.rules

View File

@ -1,4 +1,5 @@
CXX_SOURCES := main.cpp
CXXFLAGS += -std=c++11
CXXFLAGS_EXTRAS := -std=c++11
USE_LIBCPP := 1
include Makefile.rules

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS += -std=c++11
CXXFLAGS_EXTRAS := -std=c++11
include Makefile.rules

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -O0
include Makefile.rules
CXXFLAGS += -O0

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -O0
include Makefile.rules
CXXFLAGS += -O0

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -O0
include Makefile.rules
CXXFLAGS += -O0

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -O0
include Makefile.rules
CXXFLAGS += -O0

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -O0
include Makefile.rules
CXXFLAGS += -O0

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -O0
include Makefile.rules
CXXFLAGS += -O0

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -std=c++17 -fno-exceptions
include Makefile.rules
CXXFLAGS += -std=c++17 -fno-exceptions

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -O0
include Makefile.rules
CXXFLAGS += -O0

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -std=c++11 -O0
include Makefile.rules
CXXFLAGS += -std=c++11 -O0

View File

@ -3,8 +3,7 @@ CXX_SOURCES := main.cpp
# Work around "exception specification in declaration does not match previous
# declaration" errors present in older libc++ releases. This error was fixed in
# the 3.8 release.
CFLAGS_EXTRAS += -fno-exceptions
CFLAGS_EXTRAS := -fno-exceptions
USE_LIBCPP := 1
include Makefile.rules
CXXFLAGS += -O0

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -std=c++17
include Makefile.rules
CXXFLAGS += -std=c++17

View File

@ -1,5 +1,4 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
include Makefile.rules
CXXFLAGS += -O0

View File

@ -1,5 +1,6 @@
CXX_SOURCES := main.cpp
USE_LIBCPP := 1
CXXFLAGS_EXTRAS := -O0
include Makefile.rules
CXXFLAGS += -O0

View File

@ -1,6 +1,6 @@
CXX_SOURCES := main.cpp
CFLAGS_EXTRAS += -O0
CFLAGS_EXTRAS := -O0
USE_LIBSTDCPP := 1
include Makefile.rules

View File

@ -1,6 +1,6 @@
CXX_SOURCES := main.cpp
CFLAGS_EXTRAS += -O0
CFLAGS_EXTRAS := -O0
USE_LIBSTDCPP := 1
include Makefile.rules

View File

@ -1,6 +1,6 @@
CXX_SOURCES := main.cpp
CFLAGS_EXTRAS += -O0
CFLAGS_EXTRAS := -O0
USE_LIBSTDCPP := 1
include Makefile.rules

View File

@ -1,6 +1,6 @@
CXX_SOURCES := main.cpp
CFLAGS_EXTRAS += -O0
CFLAGS_EXTRAS := -O0
USE_LIBSTDCPP := 1
include Makefile.rules

View File

@ -1,7 +1,8 @@
OBJC_SOURCES := main.m
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,7 +1,8 @@
OBJC_SOURCES := main.m
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,7 +1,8 @@
OBJC_SOURCES := main.m
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,7 +1,8 @@
OBJCXX_SOURCES := main.mm
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,7 +1,8 @@
OBJCXX_SOURCES := main.mm
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,5 +1,5 @@
CXX_SOURCES := main.cpp
CFLAGS_EXTRAS += -std=c++11
CFLAGS_EXTRAS := -std=c++11
include Makefile.rules

View File

@ -1,10 +1,8 @@
OBJC_SOURCES := main.m
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation
clean::
rm -rf $(wildcard *.o *.d *.dSYM *.log)

View File

@ -5,10 +5,10 @@ ifeq "$(OS)" ""
endif
ifeq "$(OS)" "Darwin"
LDFLAGS = $(CFLAGS) -Xlinker -dead_strip
LD_EXTRAS := -Xlinker -dead_strip
else
CFLAGS += -fdata-sections -ffunction-sections
LDFLAGS = $(CFLAGS) -Wl,--gc-sections
CFLAGS_EXTRAS := -fdata-sections -ffunction-sections
LD_EXTRAS := -Wl,--gc-sections
endif
MAKE_DSYM := NO

View File

@ -1,5 +1,5 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -fomit-frame-pointer
CFLAGS_EXTRAS := -fomit-frame-pointer
include Makefile.rules

View File

@ -1,7 +1,8 @@
CXX_SOURCES := calling.cpp
ifneq (,$(findstring icc,$(CC)))
CXXFLAGS += -debug inline-debug-info
CXXFLAGS_EXTRAS := -debug inline-debug-info
endif
include Makefile.rules

View File

@ -1,4 +1,4 @@
OBJC_SOURCES := main.m
LDFLAGS = $(CFLAGS) -lobjc -framework Foundation -framework AppKit
LD_EXTRAS := -lobjc -framework Foundation -framework AppKit
include Makefile.rules

View File

@ -1,4 +1,5 @@
LEVEL = ../../../make
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
CXXFLAGS += -O1 -glldb -Xclang -femit-debug-entry-values
CXXFLAGS_EXTRAS := -O1 -glldb -Xclang -femit-debug-entry-values
include Makefile.rules

View File

@ -1,5 +1,6 @@
OBJC_SOURCES := main.m
include Makefile.rules
LDFLAGS += -framework Foundation
LD_EXTRAS := -framework Foundation
include Makefile.rules

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -g -O1 -glldb
include Makefile.rules
CXXFLAGS += -g -O1 -glldb

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -g -O1 -glldb
include Makefile.rules
CXXFLAGS += -g -O1 -glldb

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -g -O1 -glldb
include Makefile.rules
CXXFLAGS += -g -O1 -glldb

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -g -O1 -glldb
include Makefile.rules
CXXFLAGS += -g -O1 -glldb

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -g -O1 -glldb
include Makefile.rules
CXXFLAGS += -g -O1 -glldb

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -g -O1 -glldb
include Makefile.rules
CXXFLAGS += -g -O1 -glldb

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -g -O1 -glldb
include Makefile.rules
CXXFLAGS += -g -O1 -glldb

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -g -O1 -glldb
include Makefile.rules
CXXFLAGS += -g -O1 -glldb

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -g -O1 -glldb
include Makefile.rules
CXXFLAGS += -g -O1 -glldb

View File

@ -1,3 +1,4 @@
CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -g -O1 -glldb
include Makefile.rules
CXXFLAGS += -g -O1 -glldb

View File

@ -1,4 +1,5 @@
CXXFLAGS += -std=c++11
CXXFLAGS_EXTRAS := -std=c++11
CXX_SOURCES := ParallelTask.cpp
ENABLE_THREADS := YES
include Makefile.rules

View File

@ -1,4 +1,5 @@
CXXFLAGS += -std=c++11
CXXFLAGS_EXTRAS := -std=c++11
CXX_SOURCES := main.cpp
ENABLE_THREADS := YES
include Makefile.rules

View File

@ -1,7 +1,8 @@
OBJCXX_SOURCES := main.mm
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -fblocks
CFLAGS_EXTRAS := -fblocks
include Makefile.rules

View File

@ -1,5 +1,5 @@
C_SOURCES := main.c functions.c
CFLAGS_EXTRAS += -O3
CFLAGS_EXTRAS := -O3
include Makefile.rules

View File

@ -1,5 +1,5 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -O1
CFLAGS_EXTRAS := -O1
include Makefile.rules

View File

@ -1,5 +1,5 @@
C_SOURCES := test.c
CFLAGS_EXTRAS += -O1 -D_FORTIFY_SOURCE=0
CFLAGS_EXTRAS := -O1 -D_FORTIFY_SOURCE=0
include Makefile.rules

View File

@ -1,4 +1,4 @@
C_SOURCES := main.c
CFLAGS_EXTRAS += -finput-charset=UTF-8 -fextended-identifiers -std=c99
CFLAGS_EXTRAS := -finput-charset=UTF-8 -fextended-identifiers -std=c99
include Makefile.rules

View File

@ -1,8 +1,9 @@
CXX_SOURCES := main.cpp
CXXFLAGS += -std=c++11
CXXFLAGS_EXTRAS := -std=c++11
clean: OBJECTS+=$(wildcard main.d.*)
include Makefile.rules
include Makefile.rules

View File

@ -1,5 +1,5 @@
PCH_CXX_SOURCE = pch.h
CXX_SOURCES = main.cpp
CFLAGS_EXTRAS += $(MODULE_DEBUG_INFO_FLAGS)
CFLAGS_EXTRAS := $(MODULE_DEBUG_INFO_FLAGS)
include Makefile.rules

View File

@ -1,5 +1,5 @@
CXX_SOURCES = main.cpp derived.cpp base.cpp
CFLAGS_EXTRAS += $(LIMIT_DEBUG_INFO_FLAGS)
CFLAGS_EXTRAS := $(LIMIT_DEBUG_INFO_FLAGS)
include Makefile.rules

View File

@ -1,4 +1,4 @@
CXX_SOURCES := main.cpp
CFLAGS_EXTRAS = $(MANDATORY_MODULE_BUILD_CFLAGS) -I$(BUILDDIR)/include
CXXFLAGS_EXTRAS = $(MANDATORY_MODULE_BUILD_CFLAGS) -I$(BUILDDIR)/include
include Makefile.rules

View File

@ -1,5 +1,5 @@
CXX_SOURCES := main.cpp
CXXFLAGS += -std=c++11
CXXFLAGS_EXTRAS := -std=c++11
include Makefile.rules
include Makefile.rules

View File

@ -1,5 +1,5 @@
CXX_SOURCES := main.cpp
CXXFLAGS += -std=c++11
CXXFLAGS_EXTRAS := -std=c++11
USE_LIBCPP := 1
include Makefile.rules

View File

@ -1,4 +1,4 @@
OBJC_SOURCES := ivars-in-blocks.m main.m
LDFLAGS = $(CFLAGS) -lobjc -framework Foundation
LD_EXTRAS := -lobjc -framework Foundation
include Makefile.rules

View File

@ -1,7 +1,8 @@
OBJCXX_SOURCES := main.mm
CFLAGS_EXTRAS += -w
CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
LDFLAGS += -framework Foundation

View File

@ -2,6 +2,7 @@ DYLIB_NAME := Container
DYLIB_OBJC_SOURCES := Container.m
OBJC_SOURCES := main.m
include Makefile.rules
LDFLAGS += -framework Foundation
LD_EXTRAS := -framework Foundation
include Makefile.rules

View File

@ -1,6 +1,7 @@
OBJC_SOURCES := main.m my-base.m
#OBJC_SOURCES := const-strings.m
include Makefile.rules
LDFLAGS += -framework Foundation
LD_EXTRAS := -framework Foundation
include Makefile.rules

View File

@ -1,4 +1,4 @@
OBJC_SOURCES := main.m
LDFLAGS = $(CFLAGS) -lobjc -framework Foundation
LD_EXTRAS := -lobjc -framework Foundation
include Makefile.rules

Some files were not shown because too many files have changed in this diff Show More