Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9f43ea3a47
Fetching contributors…

Cannot retrieve contributors at this time

file 22 lines (15 sloc) 0.369 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
CFLAGS=-O0 -g -Wall -Werror -I.
CC?=gcc

test: test/test
@./$<

test/test: hash.o table.o test/test.o
$(CC) $(CFLAGS) -o $@ $^

test/test.o: test/test.c test/munit.h
$(CC) $(CFLAGS) -c -o $@ $<

hash.o: hash.c hash.h
$(CC) $(CFLAGS) -c -o $@ $<

table.o: table.c table.h hash.h
$(CC) $(CFLAGS) -c -o $@ $<

clean:
rm -f *.o test/*.o test/test

.PHONY: clean test
Something went wrong with that request. Please try again.