]> Dogcows Code - chaz/openbox/blobdiff - build/Makefile.render
shrimpx above miklos?
[chaz/openbox] / build / Makefile.render
index 6f99e5242f6a0ceebe00268985289cf03cc98a79..e47afa2a58e80616e63d55f6b33dc6422d7484e7 100644 (file)
@@ -1,11 +1,13 @@
 include build/Makefile.incl
 
 dir = render
+theme = operation
 
-CPPFLAGS += $(GLIB_CFLAGS) $(XFT_CFLAGS) -DG_LOG_DOMAIN=\"Render\"
+CPPFLAGS += $(GLIB_CFLAGS) $(XFT_CFLAGS) -DG_LOG_DOMAIN=\"Render\" \
+            -DDEFAULT_THEME=\"$(theme)\" -DTHEMEDIR=\"$(themedir)\"
 
 target = libobrender.la
-sources = color.c font.c gradient.c image.c mask.c render.c test.c
+sources = color.c font.c gradient.c image.c mask.c render.c theme.c
 
 srcdir := $(srcdir)/$(dir)
 target := $(addprefix $(dir)/, $(target))
@@ -25,7 +27,7 @@ $(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)/
This page took 0.022488 seconds and 4 git commands to generate.