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

OBJS = rc.o
LIBS = -lrc

DEBUGFLAGS = -g -Wall -Werror
CFLAGS += $(DEBUGFLAGS)

LDFLAGS += -L/lib

all:	rc.so


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

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