# Makefile for vivatorrent # # Author: drebs CC = gcc LD = $(CC) ALL = vivatorrent-server all: $(ALL) vivatorrent-server: vivatorrent-server.o stream.o $(LD) $^ -o $@ vivatorrent-server.o: src/vivatorrent-server.c src/vivatorrent-server.h $(CC) $< -o $@ stream.o: src/sream.c src/stream.h clean: rm -rf *.o $(ALL) .PHONY: all clean