Move services to separate directory
This commit is contained in:
parent
bd4ebce470
commit
fe02835dfa
6 changed files with 7 additions and 7 deletions
6
Makefile
6
Makefile
|
@ -3,7 +3,7 @@
|
|||
|
||||
include config.mk
|
||||
|
||||
SRC = atoms.c datetime.c drw.c dwm.c status.c util.c
|
||||
SRC = atoms.c drw.c dwm.c services/datetime.c services/status.c util.c
|
||||
OBJ = ${SRC:.c=.o}
|
||||
|
||||
all: options dwm
|
||||
|
@ -14,8 +14,8 @@ options:
|
|||
@echo "LDFLAGS = ${LDFLAGS}"
|
||||
@echo "CC = ${CC}"
|
||||
|
||||
.c.o:
|
||||
${CC} -c ${CFLAGS} $<
|
||||
%.o: %.c
|
||||
${CC} -c $< -o $@ ${CFLAGS}
|
||||
|
||||
${OBJ}: config.h config.mk
|
||||
|
||||
|
|
4
dwm.c
4
dwm.c
|
@ -42,9 +42,9 @@
|
|||
#include <X11/Xft/Xft.h>
|
||||
|
||||
#include "atoms.h"
|
||||
#include "datetime.h"
|
||||
#include "drw.h"
|
||||
#include "status.h"
|
||||
#include "services/datetime.h"
|
||||
#include "services/status.h"
|
||||
#include "util.h"
|
||||
|
||||
/* macros */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "datetime.h"
|
||||
|
||||
#include "atoms.h"
|
||||
#include "../atoms.h"
|
||||
#include "status.h"
|
||||
|
||||
#include <pthread.h>
|
|
@ -1,6 +1,6 @@
|
|||
#include "status.h"
|
||||
|
||||
#include "atoms.h"
|
||||
#include "../atoms.h"
|
||||
#include "datetime.h"
|
||||
|
||||
#include <pthread.h>
|
Loading…
Reference in a new issue