about summary refs log tree commit diff stats
path: root/apps/random
Commit message (Expand)AuthorAgeFilesLines
* 6703 - new types: code-point and graphemeKartik Agaram2020-08-021-0/+0
* 5522 - example app: random number streamKartik Agaram2019-08-201-0/+0
text), I plan that status text is read from stdin in dwm' href='/acidbong/suckless/dwm/commit/Makefile?h=5.3&id=9cd686c93a80b4095d4ee0960bef320ccd9ea02c'>9cd686c ^
8b59083 ^
650a1fb ^

8b59083 ^
650a1fb ^
1076f2b

dbf7e03 ^
650a1fb ^
dbf7e03 ^




1076f2b



9e8b325 ^
1076f2b
650a1fb ^
1076f2b
8b59083 ^
1076f2b

59b4a5e ^
dbf7e03 ^

650a1fb ^
7faa8a9 ^
650a1fb ^


dbf7e03 ^















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
                              



                                    
                                                       
                  

             
 
               

                      
       
                                




                                     



                              
             
 
           
                   
                                      

      
                                                

           
                               
                                                                              


                                                 















                                                                   
# dwm - dynamic window manager
#   (C)opyright MMVI Anselm R. Garbe

include config.mk

SRC = bar.c client.c dev.c draw.c event.c main.c util.c
OBJ = ${SRC:.c=.o}
MAN1 = dwm.1 
BIN = dwm

all: config dwm
	@echo finished

config:
	@echo dwm build options:
	@echo "LIBS     = ${LIBS}"
	@echo "CFLAGS   = ${CFLAGS}"
	@echo "LDFLAGS  = ${LDFLAGS}"
	@echo "CC       = ${CC}"

.c.o:
	@echo CC $<
	@${CC} -c ${CFLAGS} $<

${OBJ}: dwm.h

dwm: ${OBJ}
	@echo LD $@
	@${CC} -o $@ ${OBJ} ${LDFLAGS}

clean:
	rm -f dwm *.o core dwm-${VERSION}.tar.gz

dist: clean
	mkdir -p dwm-${VERSION}
	cp -R Makefile README LICENSE config.mk *.h *.c ${MAN1} dwm-${VERSION}
	tar -cf dwm-${VERSION}.tar dwm-${VERSION}
	gzip dwm-${VERSION}.tar
	rm -rf dwm-${VERSION}

install: all
	@mkdir -p ${DESTDIR}${PREFIX}/bin
	@cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
	@echo installed executable files to ${DESTDIR}${PREFIX}/bin
	@mkdir -p ${DESTDIR}${MANPREFIX}/man1
	@cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1
	@echo installed manual pages to ${DESTDIR}${MANPREFIX}/man1

uninstall:
	for i in ${BIN}; do \
		rm -f ${DESTDIR}${PREFIX}/bin/`basename $$i`; \
	done
	for i in ${MAN1}; do \
		rm -f ${DESTDIR}${MANPREFIX}/man1/`basename $$i`; \
	done