Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 252 Bytes
# Simple Makefile for static library construction and testing
all: library test
library:
gcc -c geohash.c -o geohash.o
ar rcs libgeohash.a geohash.o
rm geohash.o
test:
gcc geohash_test.c geohash.c
./a.out
rm a.out
clean:
rm -rf *.a *.o