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} |
|
12 MAN1 = gridwm.1 gridmenu.1 |
10 MAN1 = gridwm.1 gridmenu.1 |
13 BIN = gridwm gridmenu gridsel |
11 BIN = gridwm gridmenu |
14 |
12 |
15 all: config gridwm gridmenu gridsel |
13 all: config gridwm gridmenu |
16 @echo finished |
14 @echo finished |
17 |
15 |
18 config: |
16 config: |
19 @echo gridwm build options: |
17 @echo gridwm build options: |
20 @echo "LIBS = ${LIBS}" |
18 @echo "LIBS = ${LIBS}" |
33 @${CC} -o $@ ${MENOBJ} ${LDFLAGS} |
31 @${CC} -o $@ ${MENOBJ} ${LDFLAGS} |
34 |
32 |
35 gridwm: ${WMOBJ} |
33 gridwm: ${WMOBJ} |
36 @echo LD $@ |
34 @echo LD $@ |
37 @${CC} -o $@ ${WMOBJ} ${LDFLAGS} |
35 @${CC} -o $@ ${WMOBJ} ${LDFLAGS} |
38 |
|
39 gridsel: ${SELOBJ} |
|
40 @echo LD $@ |
|
41 @${CC} -o $@ ${SELOBJ} ${LDFLAGS} |
|
42 |
36 |
43 clean: |
37 clean: |
44 rm -f gridwm gridmenu *.o core |
38 rm -f gridwm gridmenu *.o core |
45 |
39 |
46 dist: clean |
40 dist: clean |