equal
deleted
inserted
replaced
1 # dwm - dynamic window manager |
1 # dwm - dynamic window manager |
2 # (C)opyright MMVI Anselm R. Garbe |
2 # (C)opyright MMVI Anselm R. Garbe |
3 |
3 |
4 include config.mk |
4 include config.mk |
5 |
5 |
6 SRC = client.c dev.c draw.c event.c util.c wm.c |
6 SRC = client.c dev.c draw.c event.c main.c util.c |
7 OBJ = ${SRC:.c=.o} |
7 OBJ = ${SRC:.c=.o} |
8 MAN1 = dwm.1 |
8 MAN1 = dwm.1 |
9 BIN = dwm |
9 BIN = dwm |
10 |
10 |
11 all: config dwm |
11 all: config dwm |
20 |
20 |
21 .c.o: |
21 .c.o: |
22 @echo CC $< |
22 @echo CC $< |
23 @${CC} -c ${CFLAGS} $< |
23 @${CC} -c ${CFLAGS} $< |
24 |
24 |
25 ${OBJ}: wm.h |
25 ${OBJ}: dwm.h |
26 |
26 |
27 dwm: ${OBJ} |
27 dwm: ${OBJ} |
28 @echo LD $@ |
28 @echo LD $@ |
29 @${CC} -o $@ ${OBJ} ${LDFLAGS} |
29 @${CC} -o $@ ${OBJ} ${LDFLAGS} |
30 |
30 |