Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 25 lines (17 sloc) 0.58 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
# Makefile for quIRC

CC ?= gcc
CFLAGS ?= -Wall

all: quirc

quirc: quirc.c ttyraw.o ttyraw.h ttyesc.o ttyesc.h irc.o irc.h bits.o bits.h colour.o colour.h numeric.h
./gitversion
$(CC) $(CFLAGS) -o quirc quirc.c ttyraw.o ttyesc.o irc.o bits.o colour.o

ttyraw.o: ttyraw.c ttyraw.h
$(CC) $(CFLAGS) -o ttyraw.o -c ttyraw.c

ttyesc.o: ttyesc.c ttyesc.h
$(CC) $(CFLAGS) -o ttyesc.o -c ttyesc.c

irc.o: irc.c irc.h
$(CC) $(CFLAGS) -o irc.o -c irc.c

bits.o: bits.c bits.h
$(CC) $(CFLAGS) -o bits.o -c bits.c

colour.o: colour.c colour.h
$(CC) $(CFLAGS) -o colour.o -c colour.c
Something went wrong with that request. Please try again.