GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — echinus/Makefile at master · polachok/echinus

Expand file tree

/

Makefile

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
67 lines (55 loc) · 2.08 KB
/

Makefile

Copy path

File metadata and controls

67 lines (55 loc) · 2.08 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
56
57
58
59
60
61
62
63
64
65
66
67
# echinus wm - a window manager
# © 2006-2007 Anselm R. Garbe, Sander van Dijk
# © 2008 Alexander Polakov
include config.mk
PIXMAPS = close.xbm iconify.xbm max.xbm
SRC = draw.c echinus.c ewmh.c parse.c
HEADERS = config.h echinus.h
OBJ = ${SRC:.c=.o}
all: options echinus ${HEADERS}
options:
@echo echinus build options:
@echo "CFLAGS = ${CFLAGS}"
@echo "LDFLAGS = ${LDFLAGS}"
@echo "CC = ${CC}"
.c.o:
@echo CC $<
@${CC} -c ${CFLAGS} $<
${OBJ}: config.mk ${HEADERS}
echinus: ${OBJ} ${SRC} ${HEADERS}
@echo CC -o $@
@${CC} -o $@ ${OBJ} ${LDFLAGS}
clean:
@echo cleaning
@rm -f echinus ${OBJ} echinus-${VERSION}.tar.gz *~
dist: clean
@echo creating dist tarball
@mkdir -p echinus-${VERSION}
@cp -R LICENSE Makefile README config.mk \
echinus.1 echinusrc ${SRC} ${HEADERS} ${PIXMAPS} echinus-${VERSION}
@tar -cf echinus-${VERSION}.tar echinus-${VERSION}
@gzip echinus-${VERSION}.tar
@rm -rf echinus-${VERSION}
install: all
@echo installing executable file to ${DESTDIR}${BINPREFIX}
@mkdir -p ${DESTDIR}${BINPREFIX}
@cp -f echinus ${DESTDIR}${BINPREFIX}
@chmod 755 ${DESTDIR}${BINPREFIX}/echinus
@echo installing configuration file and pixmaps to ${DESTDIR}${CONFPREFIX}/echinus
@mkdir -p ${DESTDIR}${CONFPREFIX}/echinus
@cp echinusrc ${DESTDIR}${CONFPREFIX}/echinus
@cp ${PIXMAPS} ${DESTDIR}${CONFPREFIX}/echinus
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
@sed "s/VERSION/${VERSION}/g;s|CONFDIR|${DESTDIR}${CONF}|g" < echinus.1 > ${DESTDIR}${MANPREFIX}/man1/echinus.1
@echo installing README to ${DESTDIR}${DOCPREFIX}/echinus
@mkdir -p ${DESTDIR}${DOCPREFIX}/echinus
@sed "s|CONFDIR|${CONF}|" < README > ${DESTDIR}${DOCPREFIX}/echinus/README
uninstall:
@echo removing executable file from ${DESTDIR}${BINPREFIX}/bin
@rm -f ${DESTDIR}${BINPREFIX}/bin/echinus
@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
@rm -f ${DESTDIR}${MANPREFIX}/man1/echinus.1
@echo removing configuration file and pixmaps from ${DESTDIR}${CONFPREFIX}
@rm -rf ${DESTDIR}${CONFPREFIX}
.PHONY: all options clean dist install uninstall
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.