- added rules for gcc-4.3 in preparation for switching to gcc-4.4 - added 'clean' target for wmake/src/Makefile It is probably reasonable to separate the binaries from the rules (TODO)
17 lines
345 B
Plaintext
17 lines
345 B
Plaintext
.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 -z -Xlinker nodefs
|