c 393 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SUFFIXES += .c

cc          = gcc -m64 -Ddarwin

cWARN       = -Wall

include $(DEFAULT_RULES)/c$(WM_COMPILE_OPTION)

cFLAGS      = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC

ctoo        = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@

LINK_LIBS   = $(cDBUG)

LINKLIBSO   = $(cc) -Wl,-dylib,-undefined,dynamic_lookup
LINKEXE     = $(cc) -Wl,-execute,-undefined,dynamic_lookup