]> git.lizzy.rs Git - bspwm.git/blobdiff - Makefile
New message: "magnetise"
[bspwm.git] / Makefile
index 7abe855cb471b3ddc34c8b7f5217924fa990470d..ab8a9f69803a685a3a05f75d920bd56bb9cb8088 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = 0.01
+VERSION = 0.1
 
 CC      = gcc
 LIBS    = `pkg-config --libs xcb xcb-ewmh xcb-icccm lua`
@@ -8,7 +8,7 @@ LDFLAGS = $(LIBS)
 PREFIX    ?= /usr/local
 BINPREFIX = $(PREFIX)/bin
 
-WM_SRC = bspwm.c events.c luautils.c messages.c ewmh.c settings.c utils.c tree.c types.c rules.c
+WM_SRC = bspwm.c events.c luautils.c messages.c ewmh.c settings.c utils.c tree.c types.c rules.c window.c
 CL_SRC = bspc.c
 
 WM_OBJ = $(WM_SRC:.c=.o)
@@ -17,36 +17,35 @@ CL_OBJ = $(CL_SRC:.c=.o)
 all: options clean bspwm bspc
 
 options:
-#      @echo "bspwm build options:"
-#      @echo "CC      = $(CC)"
-#      @echo "CFLAGS  = $(CFLAGS)"
-#      @echo "LDFLAGS = $(LDFLAGS)"
-#      @echo "PREFIX  = $(PREFIX)"
+       @echo "bspwm build options:"
+       @echo "CC      = $(CC)"
+       @echo "CFLAGS  = $(CFLAGS)"
+       @echo "LDFLAGS = $(LDFLAGS)"
+       @echo "PREFIX  = $(PREFIX)"
 
 .c.o:
-#      @echo "CC $<"
+       @echo "CC $<"
        @$(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -c -o $@ $<
 
 bspwm:  $(WM_OBJ)
-#      @echo CC -o $@
+       @echo CC -o $@
        @$(CC) -o $@ $(WM_OBJ) $(LDFLAGS)
 
 bspc:   $(CL_OBJ)
-#      @echo CC -o $@
+       @echo CC -o $@
        @$(CC) -o $@ $(CL_OBJ) $(LDFLAGS)
 
 clean:
-#      @echo "cleaning"
-       @rm -f $(WM_OBJ) $(CL_OBJ) bsp{wm,c,s}
+       @echo "cleaning"
+       @rm -f $(WM_OBJ) $(CL_OBJ) bsp{wm,c}
 
-install: all
-#      @echo "installing executable files to $(DESTDIR)$(BINPREFIX)"
+install:
+       @echo "installing executable files to $(DESTDIR)$(BINPREFIX)"
        @install -D -m 755 bspwm $(DESTDIR)$(BINPREFIX)/bspwm
        @install -D -m 755 bspc $(DESTDIR)$(BINPREFIX)/bspc
-       @install -D -m 755 bsps $(DESTDIR)$(BINPREFIX)/bsps
 
 uninstall:
-#      @echo "removing executable files from $(DESTDIR)$(BINPREFIX)"
-       @rm -f $(DESTDIR)$(BINPREFIX)/bsp{wm,c,s}
+       @echo "removing executable files from $(DESTDIR)$(BINPREFIX)"
+       @rm -f $(DESTDIR)$(BINPREFIX)/bsp{wm,c}
 
 .PHONY: all options clean install uninstall