blob: 5e151eaea616f086b7f830efdf1cbd4a7d8640bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
sources = gtf.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
|