toxio

Turn (almost) any CLI program into a Tox bot
git clone git://git.luxferre.top/toxio.git
Log | Files | Refs | README | LICENSE

Makefile (271B)


      1 # POSIX makefile template for Nim
      2 
      3 CFLAGS = -O2
      4 LDFLAGS = -L/usr/lib
      5 NC = nim
      6 NCFLAGS = -d:release -d:lto -d:strip --opt:size
      7 
      8 TARGET = toxio
      9 DEPS = 
     10 
     11 $(TARGET): $(TARGET).nim
     12 	$(NC) $(NCFLAGS) -t:"$(CFLAGS)" -l:"$(LDFLAGS)" c $(TARGET).nim $(DEPS)
     13 
     14 clean:
     15 	rm $(TARGET)