Vulpes - XMPP Bot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

41 lines
985 B

# -----------------------------------------------------------------------------
# vulpes - modules
# -----------------------------------------------------------------------------
MODS = mod_admin.so mod_org.so mod_echo.so mod_rss.so mod_codeberg.so
all: $(MODS)
mod_org.so: mod_org.o
gcc $? -shared -o $@
mod_org.o: mod_org.c
gcc -c `pkg-config --cflags --libs glib-2.0` -fPIC $? -o $@
mod_echo.so: mod_echo.o
gcc $? -shared -o $@
mod_echo.o: mod_echo.c
gcc -c `pkg-config --cflags --libs glib-2.0` -fPIC $? -o $@
mod_rss.so: mod_rss.o
gcc $? -shared -o $@
mod_rss.o: mod_rss.c
gcc -c `pkg-config --cflags --libs glib-2.0 libxml-2.0` -fPIC $? -o $@
mod_admin.so: mod_admin.o
gcc $? -shared -o $@
mod_admin.o: mod_admin.c
gcc -c `pkg-config --cflags --libs glib-2.0` -fPIC $? -o $@
mod_codeberg.so: mod_codeberg.o
gcc $? -shared -o $@
mod_codeberg.o: mod_codeberg.c
gcc -c `pkg-config --cflags --libs glib-2.0` -fPIC $? -o $@
clean:
-rm -f *.o
-rm -f *.so