From b18946972e3f88b38896a197b948bd13a2de0414 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 18 May 2009 08:57:18 -0700 Subject: Adding luarand. --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ffc0821..acb3147 100644 --- a/Makefile +++ b/Makefile @@ -123,7 +123,10 @@ FTGL_LIBS = -lfreetype -lftgl OSMESA_SOURCES = \ plugin-luaosmesa.cc \ -dds.c +dds.c \ + +RAND_SOURCES = \ +plugin-luarand.cc \ WHOLE_SOURCES = \ $(CONFIGFILES_SOURCES) \ @@ -138,6 +141,7 @@ $(LUALIBS_SOURCES) \ $(GL_SOURCES) \ $(FTGL_SOURCES) \ $(OSMESA_SOURCES) \ +$(RAND_SOURCES) \ MODULES_LIST = \ luaconfigfiles.$(SHARED_EXT) \ @@ -152,6 +156,7 @@ luagl.$(SHARED_EXT) \ luaftgl.$(SHARED_EXT) \ lualibs.$(SHARED_EXT) \ luaosmesa.$(SHARED_EXT) \ +luarand.$(SHARED_EXT) \ ALL_OBJECTS = $(addsuffix .o, $(notdir $(basename $(WHOLE_SOURCES) $(LUA_LIB)))) ALL_DEPS = $(addsuffix .dep, $(notdir $(basename $(WHOLE_SOURCES)))) @@ -189,6 +194,9 @@ luasql.$(SHARED_EXT): $(addsuffix .o, $(notdir $(basename $(SQL_SOURCES)))) luagl.$(SHARED_EXT): $(addsuffix .o, $(notdir $(basename $(GL_SOURCES)))) $(LD) $(LDFLAGS) -o $@ $+ $(GL_LIBS) +luarand.$(SHARED_EXT): $(addsuffix .o, $(notdir $(basename $(RAND_SOURCES)))) + $(LD) $(LDFLAGS) -o $@ $+ $(RAND_LIBS) + luaftgl.$(SHARED_EXT): $(addsuffix .o, $(notdir $(basename $(FTGL_SOURCES)))) $(LD) $(LDFLAGS) -o $@ $+ $(FTGL_LIBS) -- cgit v1.2.3