]> Dogcows Code - chaz/openbox/blobdiff - build/Makefile.obcl
add all functions for getting and setting window properties
[chaz/openbox] / build / Makefile.obcl
index c602c686abbc30d1669282dc329844d195363c1c..c972a77614fcb62d17051876b1d49d29d053b8df 100644 (file)
@@ -17,7 +17,7 @@ depdir := $(depdir)/$(dir)
 all: $(target)
 
 $(target): $(objects)
-       $(LINK) -o $@ $^ $(LDFLAGS)
+       $(LINK) -rpath $(libdir) -o $@ $^ $(LDFLAGS)
 
 $(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d
        $(LTCOMPILE) -c -o $@ $<
@@ -25,12 +25,13 @@ $(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d
 $(depdir)/%.d: $(srcdir)/%.c
        @echo Building dependancies for $<
        @$(INSTALL) -d $(depdir)
-       @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.o) $<
+       @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.lo) $<
 
 install:
        $(INSTALL) -d $(DESTDIR)$(libdir)/
        $(LIBTOOL) --mode=install $(INSTALL) $(target) \
                $(DESTDIR)$(libdir)/$(notdir $(target))
+       $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
 
 uninstall:
        $(LTRM) $(DESTDIR)$(libdir)/$(notdir $(target))
This page took 0.020068 seconds and 4 git commands to generate.