about summary refs log blame commit diff stats
path: root/makefile
blob: 7856ecfb64b19fde4fac220b6eb6414746768651 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
            
              

                    
      
                                          
        
                                                            

                                            

                                                                          
        
                              
      
                
NIMC = nim c
FLAGS = -o:cha
FILES = src/main.nim

debug:
	$(NIMC) $(FLAGS) -d:debug $(FILES)
release:
	$(NIMC) $(FLAGS) -d:release -d:strip -d:lto $(FILES)
release0:
	$(NIMC) $(FLAGS) -d:release $(FILES)
profile:
	$(NIMC) $(FLAGS) --profiler:on --stacktrace:on -d:profile $(FILES)
install:
	cp cha /usr/local/bin/
clean:
	rm ./cha