shithub: tinygl

ref: 3b1761c649260aae4b84683c5abfae2351d09ac7
dir: /src/Makefile/

View raw version
include ../config.mk

OBJS= api.o list.o vertex.o init.o matrix.o texture.o \
      misc.o clear.o light.o clip.o select.o get.o \
      zbuffer.o zline.o ztriangle.o \
      zmath.o image_util.o msghandling.o \
      arrays.o specbuf.o memory.o ztext.o zraster.o accum.o zpostprocess.o


INCLUDES = -I./include
LIB = libTinyGL.a

all: $(LIB)

$(LIB): $(OBJS)
	rm -f $(LIB)
	ar rcs $(LIB) $(OBJS)
clean:
	rm -f *~ *.o *.a
.c.o:
	$(CC) $(CFLAGS_LIB) -c $*.c