Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (16 sloc) 290 Bytes
CC=gcc
CFLAGS=-Wall -g
SRCS=$(wildcard *.c)
OBJS=$(SRCS:.c=.o)
.PHONY: doc clean
all : wordstat
wordstat : $(OBJS)
$(CC) $(OBJS) -o $@
.c.o : $(SRCS)
$(CC) -g -c $(CFLAGS) $*.c
clean :
rm -rf *.o *.a wordstat
rm -rf readme.aux
rm -rf readme.log
doc :
pdflatex readme.tex