Initial import
[librseq.git] / Makefile
1 # Copyright (C) 2016 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2 #
3 # THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
4 # OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
5 #
6 # Permission is hereby granted to use or copy this program for any
7 # purpose, provided the above notices are retained on all copies.
8 # Permission to modify the code and to distribute modified code is
9 # granted, provided the above notices are retained, and a notice that
10 # the code was modified is included with the above copyright notice.
11
12 CPPFLAGS = -O2 -g -I./include
13 LDFLAGS = -pthread
14
15 all: librseq.so
16
17 INCLUDES=$(wildcard remote/*.h)
18
19 librseq.so: src/rseq.c ${INCLUDES}
20 $(CC) $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -shared -fpic src/rseq.c -o $@
21
22 .PHONY: clean fetch
23
24 clean:
25 rm -f librseq.so
This page took 0.049521 seconds and 5 git commands to generate.