Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2970fe9b68
Fetching contributors…

Cannot retrieve contributors at this time

file 27 lines (21 sloc) 0.49 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 26 27
CFLAGS = -ggdb3 -O0 -march=native -std=gnu99 -Wall
LDFLAGS = $(CFLAGS)
LDLIBS = -lz
RARAS = ./raras
RARLD = ./rarld

%.ri: %.rs
cpp -Istdlib < $< > $@

%.ro: %.ri
$(RARAS) -o $@ $<

%.rar: %.ro
$(RARLD) $< > $@

all: raras rarld sample.rar test
rarld: rarld.o bitbuffer.o
raras: parser.o raras.o bitbuffer.o
bitbuffer_test: bitbuffer_test.o bitbuffer.o

test: bitbuffer_test
./bitbuffer_test
make -C test all

clean:
rm -f *.o raras rarld *_test *.ri *.ro *.rar
make -C test clean
Something went wrong with that request. Please try again.