1 --- wireless_tools.29/Makefile.makefile 2007-04-19 19:42:23.000000000 -0400
2 +++ wireless_tools.29/Makefile 2007-05-22 17:31:53.000000000 -0400
3 @@ -101,12 +101,15 @@ ifdef BUILD_WE_ESSENTIAL
4 WEDEF_FLAG= -DWE_ESSENTIAL=y
11 CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow \
12 -Wpointer-arith -Wcast-qual -Winline -I.
13 #CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
15 -XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) $(WELIB_FLAG) $(WEDEF_FLAG)
16 +XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) $(WELIB_FLAG) $(WEDEF_FLAG) $(OPT_FLAGS)
19 # Standard compilation targets
20 @@ -146,6 +149,7 @@ wireless.h:
21 # Compilation of the dynamic library
22 $(DYNAMIC): $(OBJS:.o=.so)
23 $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
24 + ln -s $@ $(DYNAMIC_LINK)
26 # Compilation of the static library
27 $(STATIC): $(OBJS:.o=.so)