equal
deleted
inserted
replaced
5 |
5 |
6 WMSRC = bar.c client.c cmd.c draw.c event.c key.c util.c wm.c |
6 WMSRC = bar.c client.c cmd.c draw.c event.c key.c util.c wm.c |
7 WMOBJ = ${WMSRC:.c=.o} |
7 WMOBJ = ${WMSRC:.c=.o} |
8 MENSRC = menu.c draw.c util.c |
8 MENSRC = menu.c draw.c util.c |
9 MENOBJ = ${MENSRC:.c=.o} |
9 MENOBJ = ${MENSRC:.c=.o} |
|
10 SELSRC = gridsel.c util.c |
|
11 SELOBJ = ${SELSRC:.c=.o} |
10 MAN1 = gridwm.1 gridmenu.1 |
12 MAN1 = gridwm.1 gridmenu.1 |
11 BIN = gridwm gridmenu |
13 BIN = gridwm gridmenu gridsel |
12 |
14 |
13 all: config gridwm gridmenu |
15 all: config gridwm gridmenu gridsel |
14 @echo finished |
16 @echo finished |
15 |
17 |
16 config: |
18 config: |
17 @echo gridwm build options: |
19 @echo gridwm build options: |
18 @echo "LIBS = ${LIBS}" |
20 @echo "LIBS = ${LIBS}" |
31 @${CC} -o $@ ${MENOBJ} ${LDFLAGS} |
33 @${CC} -o $@ ${MENOBJ} ${LDFLAGS} |
32 |
34 |
33 gridwm: ${WMOBJ} |
35 gridwm: ${WMOBJ} |
34 @echo LD $@ |
36 @echo LD $@ |
35 @${CC} -o $@ ${WMOBJ} ${LDFLAGS} |
37 @${CC} -o $@ ${WMOBJ} ${LDFLAGS} |
|
38 |
|
39 gridsel: ${SELOBJ} |
|
40 @echo LD $@ |
|
41 @${CC} -o $@ ${SELOBJ} ${LDFLAGS} |
36 |
42 |
37 clean: |
43 clean: |
38 rm -f gridwm gridmenu *.o core |
44 rm -f gridwm gridmenu *.o core |
39 |
45 |
40 dist: clean |
46 dist: clean |