Prevent umounting of theme directories.
[fbsplash.git] / gentoo / Makefile
blob44fee03b3309d58175ceb2595554995b5a2e4ba6
1 # Makefile for the splash baselayout plugin.
4 LIB ?= lib
5 CFLAGS += -g -Wall
6 LDFLAGS += -L../core/objs/.libs -L../core/.libs
8 INCLUDES = -I../core/objs -I../core -I../core/src -I../core/objs/src
10 splash.so: splash.o
11 $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,$@ $+ -o $@ -leinfo -lrc -lfbsplash
13 test: test.o
14 $(CC) $+ -o $@ -leinfo -lrc -ldl
16 %.o: %.c
17 $(CC) $(CFLAGS) $(INCLUDES) -fPIC -c -o $@ $<
19 install:
20 install -D splash.so $(DESTDIR)/$(LIB)/rc/plugins/splash.so
22 clean:
23 rm -rf *.o *.so