summary refs log tree commit diff stats
path: root/compiler/main.nim
Commit message (Expand)AuthorAgeFilesLines
...
* year 2012 for most copyright headersAraq2012-01-021-1/+1
* path canonicalization for imported modules, relative paths written in rod filesZahary Karadjov2011-12-111-1/+1
* path canonicalization and proper project relative pathsZahary Karadjov2011-12-091-1/+1
* Speed-up symbolFiles:on operations on windowsZahary Karadjov2011-12-071-12/+10
* bugfixes for .rod files and visual C++Araq2011-12-031-1/+1
* cleaned up configuration file handling and documented the new behaviourAraq2011-11-301-10/+10
* argument passing with --run option works againAraq2011-11-271-2/+2
* New algorithm for locating and loading nimrod config files.Zahary Karadjov2011-11-251-78/+79
* compilation cache: multi methods now workAraq2011-10-241-0/+1
* compilation cache: better dependency checkingAraq2011-10-231-0/+1
* much more efficient rod file generationAraq2011-10-181-25/+17
* added system.slurp for easy embedding of resourcesAraq2011-08-101-2/+4
* json code generation works againAraq2011-08-071-1/+1
* support for C++ code generation; importcpp and importobjc pragmasAraq2011-08-071-2/+2
* lexer, parser cleanup; boehm gc for mac os xAraq2011-05-171-3/+3
* const table supportAraq2011-04-291-2/+2
* got rid of some arcane module namesAraq2011-04-211-1/+1
* better error message for invalid module namesAraq2011-04-161-1/+1
* big repo cleanupAraq2011-04-121-0/+279
dcef7adb1a85951871cb51a052709241a'>^
1076f2b
650a1fb ^
1076f2b
95766d6 ^
82064af ^
1076f2b

4d55eee ^
db876f9 ^
dbf7e03 ^

4d55eee ^






dbf7e03 ^

4d55eee ^
dbf7e03 ^
4d55eee ^


dbf7e03 ^
d9386a0 ^
4d55eee ^
dbf7e03 ^

4d55eee ^



dc5c070 ^

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
                              



                                    
                                                        
                  
 
                
 
        
                                


                                     
                                
 



                              
                                
 
         

                                               
 
           
                   
                                      
                 

      
                      
                                               

           






                                                             

            
                                                                   
                                         


                                                                   
                                             
                                                                                 
                                                    

          



                                                                   

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

include config.mk

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

all: options dwm

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

.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 LD $@
	@${LD} -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