diff options
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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) |