summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4c1ea9464087c96d77f5003b2d26263d798f3c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
sources = \
	  cvt.c \
	  gtf.c \
	  mode.c \
	  monitor.c

objects = $(sources:.c=.o)

all: libminitru.so.0

clean:
	rm -f $(objects)

.c.o:
	gcc -fPIC -c -Wall -o $@ $<

libminitru.so.0: $(sources:.c=.o)
	gcc -shared -Wl,-soname,$@ -o $@ $^ -lm