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

                    
      
                                          
        
                                                            

                                                                          

                              
      
                
NIMC = nim c
FLAGS = -d:ssl -o:twt
FILES = src/main.nim

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