16 lines
367 B
Text
16 lines
367 B
Text
.SUFFIXES: .c .h
|
|
|
|
cWARN = -Wall
|
|
|
|
cc = gcc -m64
|
|
|
|
include $(RULES)/c$(WM_COMPILE_OPTION)
|
|
|
|
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
|
|
|
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
|
|
|
LINK_LIBS = $(cDBUG)
|
|
|
|
LINKLIBSO = $(cc) -shared
|
|
LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs
|