Skip to content
This repository has been archived by the owner on Jan 5, 2018. It is now read-only.

Commit

Permalink
huge refactoring of code
Browse files Browse the repository at this point in the history
  • Loading branch information
Unia committed May 17, 2013
1 parent 2aac9ce commit b0c8895
Show file tree
Hide file tree
Showing 4 changed files with 256 additions and 224 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PROG = dwmst
PROG = dwmst
CC = gcc
PREFIX ?= /usr/local
BINPREFIX = ${PREFIX}/bin
Expand All @@ -11,15 +11,15 @@ BINPREFIX = ${PREFIX}/bin
AUDLIB = `pkg-config --cflags --libs glib-2.0 dbus-glib-1 audclient`
AUDFLAG = -DAUD

LIBS = -liw -lasound -lX11 -lcanberra ${MPDLIB} ${AUDLIB}
LIBS = -liw -lasound -lX11 ${MPDLIB} ${AUDLIB}
CPPFLAGS = ${MPDFLAG} ${AUDFLAG} ${CLKFLAG}
CFLAGS = -Os -Wall -Wextra ${CPPFLAGS}
CFLAGS = -Os -pedantic -Wall -Wextra -Wno-format-zero-length ${CPPFLAGS}

${PROG}: ${PROG}.c ${PROG}.h
@${CC} ${CFLAGS} ${LIBS} -o ${PROG} ${PROG}.c
@strip ${PROG}

debug: CFLAGS += -O0 -g -pedantic
debug: CFLAGS += -O0 -g
debug: ${PROG}

install:
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ To (re)launch dwmst after suspending your computer, you have to enable the syste

ToDo
----
* See if there's a better way to implement wired connection checks
* Re-check event sounds
* Code left to clean up:
* MPD;
* Alsa;
Loading

0 comments on commit b0c8895

Please sign in to comment.