summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 5351774ef8153226250e04e585dfa14b96a909d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

VERSION = 0.1

OBJS = rc.o
LIBS = -lrc

DEBUGFLAGS = -g -Wall -Werror
CFLAGS += $(DEBUGFLAGS)
CFLAGS += -DVERSION=\"$(VERSION)\"

LDFLAGS += -L/lib

all:	rc.so


rc.so: $(OBJS)
	$(CC) $(LDFLAGS) -o $@  -fPIC -shared $^ $(LIBS)

clean:
	rm -f rc.so $(OBJS)