-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
34 lines (18 loc) · 783 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SYSTEM = x86-64_osx
LIBFORMAT = static_pic
# ---------------------------------------------------------------------
# Compiler options
# ---------------------------------------------------------------------
CCOPT = -m64 -O -fPIC -fexceptions -DNDEBUG -DIL_STD -stdlib=libstdc++
# ---------------------------------------------------------------------
# Link options and libraries
# ---------------------------------------------------------------------
CCLNFLAGS = -m64 -lm -lpthread -framework CoreFoundation -framework IOKit -stdlib=libstdc++
OPTIONS = -ansi -Wall -Wno-sign-compare $(CCFLAGS)
AUX = ts.cpp
CCFLAGS = $(CCOPT)
all: gfp_test
gfp_test: sched_test.cpp $(AUX)
g++ $(OPTIONS) -Ofast -o gfp_test sched_test.cpp $(AUX) $(CCLNFLAGS)
clean:
rm gfp_test