summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-05-18 08:57:18 -0700
committerPixel <pixel@nobis-crew.org>2009-05-18 08:57:18 -0700
commitb18946972e3f88b38896a197b948bd13a2de0414 (patch)
treeffe33dc65735a825d893d38740c7af8453a710c6
parentc1fe002b1cc743452514862a11d73a901e914a19 (diff)
Adding luarand.
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
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)