[misc] Add error code 'GENERIC_BADNESS'
[vsc-common.git] / cli / Makefile
1 #!/usr/bin/make
2 #
3 # Makefile to build libvsccli
4 #
5 # Copyright (C) 2009 Matthias Bolte <matthias.bolte@googlemail.com>
6 #
7
8 include ../config.mk
9
10 OBJS     = command.o core.o help.o option.o token.o
11 TARGET   = libvsccli.so
12
13 #
14 # Fancy gcc options
15 #
16
17 # libvscmisc
18 CFLAGS  += -I ../include
19
20 # libreadline
21 LDFLAGS += -lreadline
22
23 #
24 # Rules
25 #
26
27 .PHONY: all clean install
28
29 all: $(TARGET)
30
31 clean:
32         rm -rf -- $(TARGET) $(OBJS) $(CLEAN_PATTERNS)
33
34 install: install-target-lib
35
36 include ../rules.mk