summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f12451b..76bd364 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,10 @@ FTGL_LIBS = -lfreetype -lftgl
OSMESA_SOURCES = \
plugin-luaosmesa.cc \
-dds.c
+dds.c \
+
+RAND_SOURCES = \
+plugin-luarand.cc \
WHOLE_SOURCES = \
$(CONFIGFILES_SOURCES) \
@@ -140,6 +143,7 @@ $(LUALIBS_SOURCES) \
$(GL_SOURCES) \
$(FTGL_SOURCES) \
$(OSMESA_SOURCES) \
+$(RAND_SOURCES) \
ifeq ($(HAVE_ORACLE),true)
WHOLE_SOURCES += $(OCCI_SOURCES)
@@ -157,6 +161,7 @@ luagl.$(SHARED_EXT) \
luaftgl.$(SHARED_EXT) \
lualibs.$(SHARED_EXT) \
luaosmesa.$(SHARED_EXT) \
+luarand.$(SHARED_EXT) \
ifeq ($(HAVE_ORACLE),true)
MODULES_LIST += luaocci.$(SHARED_EXT)
@@ -198,6 +203,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)