Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. TCC_DIR=../../../ktcc/trunk
  2. CC=$(TCC_DIR)/bin/kos32-tcc
  3.  
  4. CFLAGS=-I../include -I$(TCC_DIR)/libc/include -Dpowf=pow
  5.  
  6. OBJS= clip.o vertex.o api.o list.o init.o matrix.o texture.o \
  7.       misc.o clear.o light.o select.o get.o error.o \
  8.       zbuffer.o zline.o zdither.o ztriangle.o \
  9.       zmath.o image_util.o msghandling.o \
  10.       arrays.o specbuf.o glu.o kosgl.o
  11.  
  12. all: $(OBJS)
  13.         ar -crs libtinygl.a *.o
  14. .o:
  15.         $(CC) $(CFLAGS) -c $*.c
  16. clean:
  17.         rm *.o *.a
  18. install:
  19.         cp libtinygl.a $(TCC_DIR)/bin/lib/
  20.