| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- SQUIRREL= ..
- OUT= $(SQUIRREL)/lib/libsqstdlib.a
- INCZ= -I$(SQUIRREL)/include -I. -Iinclude
- OBJS= \
- sqstdblob.o \
- sqstdio.o \
- sqstdstream.o \
- sqstdmath.o \
- sqstdsystem.o \
- sqstdstring.o \
- sqstdaux.o \
- sqstdrex.o
- SRCS= \
- sqstdblob.cpp \
- sqstdio.cpp \
- sqstdstream.cpp \
- sqstdmath.cpp \
- sqstdsystem.cpp \
- sqstdstring.cpp \
- sqstdaux.cpp \
- sqstdrex.cpp
- sq32:
- gcc -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
- ar rc $(OUT) *.o
- rm *.o
- sqprof:
- gcc -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
- ar rc $(OUT) *.o
- rm *.o
- sq64:
- gcc -O2 -m64 -fno-exceptions -D_SQ64 -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
- ar rc $(OUT) *.o
- rm *.o
- sqnspire:
- nspire-gcc -O2 -fno-exceptions -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) -lnspireio
- # Ndless doesn't provide a ndless-ar wrapper
- arm-none-eabi-ar rc $(OUT) *.o
- rm *.o
|