sscall

UDP based voice chat
git clone git://git.2f30.org/sscall
Log | Files | Refs | README | LICENSE

Makefile (308B)


      1 bin = sscall
      2 ver = 0.1
      3 obj = sscall.o
      4 
      5 CC = gcc
      6 CFLAGS += -Wall -Wextra -I/usr/local/include
      7 LDFLAGS += -lao -lpthread -L/usr/local/lib
      8 
      9 $(bin): $(obj)
     10 	$(CC) $(CFLAGS) -o $@ $(obj) $(LDFLAGS)
     11 
     12 %.o: %.c
     13 	$(CC) $(CFLAGS) -c -o $@ $<
     14 
     15 clean:
     16 	@rm -rf $(bin) $(obj)
     17 
     18 all:
     19 	make clean && make
     20 
     21 .PHONY: all clean