summary refs log tree commit diff stats
path: root/compiler/passes.nim
Commit message (Expand)AuthorAgeFilesLines
...
* renamefestAraq2014-08-231-1/+1
* removed flawed thread analysis passAraq2014-04-201-2/+3
* case consistency part 4Araq2013-12-271-4/+4
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
* fixed a regression: compiling projects not residing in the current directoryZahary Karadjov2013-01-201-1/+1
* CaaS in-memory cachingZahary Karadjov2012-11-281-23/+21
* caas is now drivable through stdinZahary Karadjov2012-11-281-17/+41
* cas improvementsAraq2012-10-241-4/+7
* first steps towards term rewriting macrosAraq2012-08-301-14/+1
* preparations for making 'closure' the default calling convention for proc typesAraq2012-07-161-6/+6
* year 2012 for most copyright headersAraq2012-01-021-1/+1
* thoughts about implicit includes and importsAraq2011-11-291-11/+16
* New algorithm for locating and loading nimrod config files.Zahary Karadjov2011-11-251-0/+14
* bugfixes for ROD file generation; nimcache dir is now flatAraq2011-10-201-4/+22
* much more efficient rod file generationAraq2011-10-181-1/+1
* further improvements for thread analysisAraq2011-06-131-4/+4
* got rid of some arcane module namesAraq2011-04-211-2/+2
* big repo cleanupAraq2011-04-121-0/+155
ht .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# dwm - dynamic window manager
#   (C)opyright MMVI-MMVII Anselm R. Garbe

include config.mk

SRC = client.c draw.c event.c layout.c main.c tag.c util.c
OBJ = ${SRC:.c=.o}

all: options dwm

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

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

${OBJ}: dwm.h config.h config.mk

config.h:
	@echo creating $@ from config.default.h
	@cp config.default.h $@

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

clean:
	@echo cleaning
	@rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz

dist: clean
	@echo creating dist tarball
	@mkdir -p dwm-${VERSION}
	@cp -R LICENSE Makefile README config.*.h config.mk \
		dwm.1 dwm.h ${SRC} dwm-${VERSION}
	@tar -cf dwm-${VERSION}.tar dwm-${VERSION}
	@gzip dwm-${VERSION}.tar
	@rm -rf dwm-${VERSION}

install: all
	@echo installing executable file to ${DESTDIR}${PREFIX}/bin
	@mkdir -p ${DESTDIR}${PREFIX}/bin
	@cp -f dwm ${DESTDIR}${PREFIX}/bin
	@chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
	@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
	@mkdir -p ${DESTDIR}${MANPREFIX}/man1
	@sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1

uninstall:
	@echo removing executable file from ${DESTDIR}${PREFIX}/bin
	@rm -f ${DESTDIR}${PREFIX}/bin/dwm
	@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
	@rm -f ${DESTDIR}${MANPREFIX}/man1/dwm.1

.PHONY: all options clean dist install uninstall