Move services out of separate directory
This commit is contained in:
parent
9fd95aa603
commit
50f328c3b5
4
Makefile
4
Makefile
|
@ -3,7 +3,7 @@
|
|||
|
||||
include config.mk
|
||||
|
||||
SRC = atoms.c drw.c dwm.c services/datetime.c services/status.c settings.c util.c
|
||||
SRC = atoms.c datetime.c drw.c dwm.c settings.c status.c util.c
|
||||
OBJ = ${SRC:.c=.o}
|
||||
|
||||
all: options dwm
|
||||
|
@ -17,7 +17,7 @@ options:
|
|||
%.o: %.c
|
||||
${CC} -c $< -o $@ ${CFLAGS}
|
||||
|
||||
${OBJ}: atoms.h drw.h config.def.h config.mk services/datetime.h services/status.h settings.h util.h
|
||||
${OBJ}: atoms.h datetime.h drw.h config.def.h config.mk settings.h status.h util.h
|
||||
|
||||
dwm: ${OBJ}
|
||||
${CC} -o $@ ${OBJ} ${LDFLAGS}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "datetime.h"
|
||||
|
||||
#include "../atoms.h"
|
||||
#include "atoms.h"
|
||||
#include "status.h"
|
||||
|
||||
#include <pthread.h>
|
4
dwm.c
4
dwm.c
|
@ -42,10 +42,10 @@
|
|||
#include <X11/Xft/Xft.h>
|
||||
|
||||
#include "atoms.h"
|
||||
#include "datetime.h"
|
||||
#include "drw.h"
|
||||
#include "services/datetime.h"
|
||||
#include "services/status.h"
|
||||
#include "settings.h"
|
||||
#include "status.h"
|
||||
#include "util.h"
|
||||
|
||||
/* macros */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "status.h"
|
||||
|
||||
#include "../atoms.h"
|
||||
#include "atoms.h"
|
||||
#include "datetime.h"
|
||||
|
||||
#include <pthread.h>
|
Loading…
Reference in New Issue