]> git.lizzy.rs Git - bspwm.git/blobdiff - Makefile
Remove node
[bspwm.git] / Makefile
index d76c3112f5edf657aa95c1547f5a799018aecb74..862693e5ef86a9da16fab4acd50ca951f0f1d5fb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,42 +10,49 @@ BINPREFIX = $(PREFIX)/bin
 
 WM_SRC = bspwm.c events.c luautils.c messages.c ewmh.c settings.c utils.c tree.c types.c
 CL_SRC = bspc.c
+ST_SRC = bsps.c
 
 WM_OBJ = $(WM_SRC:.c=.o)
 CL_OBJ = $(CL_SRC:.c=.o)
+ST_OBJ = $(ST_SRC:.c=.o)
 
-all: options bspwm bspc
+all: options clean bspwm bspc bsps
 
 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)
 
+bsps:   $(ST_OBJ)
+#      @echo CC -o $@
+       @$(CC) -o $@ $(ST_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}
+#      @echo "cleaning"
+       @rm -f $(WM_OBJ) $(CL_OBJ) bsp{wm,c,s}
 
 install: all
-       @echo "installing executable files to $(DESTDIR)$(BINPREFIX)"
+#      @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}
+#      @echo "removing executable files from $(DESTDIR)$(BINPREFIX)"
+       @rm -f $(DESTDIR)$(BINPREFIX)/bsp{wm,c,s}
 
 .PHONY: all options clean install uninstall