chiark / gitweb /
fishdescriptor: wip (found)
[chiark-utils.git] / fishdescriptor / Makefile
1 OPTIMISE = -O2
2 DEBUG = -g
3
4 CFLAGS = -Wall -Werror -Wwrite-strings
5 CFLAGS += $(OPTIMISE) $(DEBUG)
6
7 MAJOR=1
8 MINOR=0
9 LIBCANON=       libfishdescriptor-donate.so.$(MAJOR)
10 LIBTARGET=      $(LIBCANON).$(MINOR)
11
12 all:    $(LIBTARGET)
13
14 $(LIBTARGET):   donate.o
15         $(CC) -shared -Wl,-soname -Wl,$(LIBCANON) -o $@ $< $(LIBS)
16
17 donate.o:                       donate.c