Add s390 target
[librseq.git] / Makefile
CommitLineData
784b0012
MD
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
12CPPFLAGS = -O2 -g -I./include
13LDFLAGS = -pthread
14
15all: librseq.so
16
17INCLUDES=$(wildcard remote/*.h)
18
19librseq.so: src/rseq.c ${INCLUDES}
20 $(CC) $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -shared -fpic src/rseq.c -o $@
21
22.PHONY: clean fetch
23
24clean:
25 rm -f librseq.so
This page took 0.024453 seconds and 4 git commands to generate.