summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)