Index: src/luasocket-2.0.2/src/makefile =================================================================== --- src/luasocket-2.0.2/src/makefile (revision 7930) +++ src/luasocket-2.0.2/src/makefile (working copy) @@ -3,7 +3,11 @@ # include ../config include ../config_include.${PLATFORM} +CFLAGS ?= -O2 -Wall $(MYCFLAGS) +.c.o: + $(CC) $(CFLAGS) $(MYCFLAGS) -c -o $@ $< + #------ # Hopefully no need to change anything below this line #