mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
There's no real need for this to be included in the standard build, or even to avoid bit-rot; but if someone messes around with the data structure, this is a good way to stress-test it. Swift SVN r14494
21 lines
544 B
Makefile
21 lines
544 B
Makefile
srcroot = /Volumes/Data/swift
|
|
objroot = /Volumes/Data/swift-DA
|
|
|
|
CXXFLAGS = -std=c++11 \
|
|
-stdlib=libc++ \
|
|
-g \
|
|
-I$(srcroot)/tools/swift/include \
|
|
-I$(srcroot)/tools/clang/include \
|
|
-I$(srcroot)/include \
|
|
-I$(objroot)/include \
|
|
-I$(objroot)/tools/clang/include \
|
|
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
|
|
|
|
LDFLAGS = -L$(objroot)/Debug+Asserts/lib -lLLVMSupport -lcurses
|
|
|
|
main: main.cpp $(srcroot)/tools/swift/include/swift/Basic/SuccessorMap.h
|
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o main main.cpp
|
|
|
|
clean:
|
|
rm main
|