| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- SQUIRREL= ..
- OUT= $(SQUIRREL)/lib/libsquirrel.a
- INCZ= -I$(SQUIRREL)/include -I. -Iinclude -I$(SQUIRREL)/sqstdlib
- DEFS= $(CC_EXTRA_FLAGS)
- LIB=
- OBJS= \
- sqapi.o \
- sqbaselib.o \
- sqfuncstate.o \
- sqdebug.o \
- sqlexer.o \
- sq_lexer.o \
- sqobject.o \
- sqcompiler.o \
- sqstate.o \
- sqtable.o \
- sqmem.o \
- sqvm.o \
- sqclass.o \
- lua-regex.o \
- sublatin.o
-
- SRCS= \
- sqapi.cpp \
- sqbaselib.cpp \
- sqfuncstate.cpp \
- sqdebug.cpp \
- sqlexer.cpp \
- sq_lexer.cpp \
- sqobject.cpp \
- sqcompiler.cpp \
- sqstate.cpp \
- sqtable.cpp \
- sqmem.cpp \
- sqvm.cpp \
- sqclass.cpp \
- lua-regex.c \
- sublatin.c
-
-
- sq32:
- $(CC) -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
- rm *.o
- sq3232:
- $(CC) -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
- rm *.o
- sq32i64:
- $(CC) -g -D_SQ64 -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
- rm *.o
- sq32dbg:
- $(CC) -g -m32 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
- rm *.o
- sqprof:
- #$(CC) -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- $(CC) -O2 -pg -g -fno-exceptions -fno-rtti -gstabs -g3 -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
- rm *.o
- sq64:
- $(CC) -O3 -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- # $(CC) -g -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
- rm *.o
- sq64p:
- $(CC) -fpack-struct -DSQ_PACKED_STRUCT -march=native -O3 -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- # $(CC) -g -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
- rm *.o
- sq64dbg:
- $(CC) -g -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
- ar rc $(OUT) *.o
- rm *.o
|