forked from PolMine/RcppCWB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
69 lines (54 loc) · 2.16 KB
/
Makefile
File metadata and controls
69 lines (54 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
## -*-Makefile-*-
##
## IMS Open Corpus Workbench (CWB)
## Copyright (C) 1993-2006 by IMS, University of Stuttgart
## Copyright (C) 2007- by the respective contributers (see file AUTHORS)
##
## This program is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by the
## Free Software Foundation; either version 2, or (at your option) any later
## version.
##
## This program is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
## Public License for more details (in the file "COPYING", or available via
## WWW at http://www.gnu.org/copyleft/gpl.html).
## Read configuration settings and standard definitions
TOP = $(R_PACKAGE_SOURCE)
include $(TOP)/config.mk
# the following targets are available
#
# all compile tools
# clean delete object files and binaries
# realclean also deleted automatically generated parsers and dependencies
# depend update dependencies
# install install tool binaries
# uninstall uninstall tools from chosen location (currently not supported)
# relase install to binary release dir
# size print size of source code (line counts)
#
.PHONY: all clean realclean depend install uninstall size
## ----------------------------------------------------------------------
## CWB command-line utilities headers / sources / binaries
SRCS = cwb-encode.c cwb-makeall.c \
cwb-huffcode.c cwb-compress-rdx.c \
OBJS = cwb-encode.o cwb-makeall.o \
cwb-huffcode.o cwb-compress-rdx.o \
all: libcwb.a
libcwb.a: $(OBJS)
@$(ECHO) "--------------------------------- CREATING ARCHIVE"
$(RM) $@
$(AR) cq $@ $^
cwb-encode.o: cwb-encode.c
${CC} -c $(CFLAGS_ALL) -o cwb-encode.o cwb-encode.c
cwb-makeall.o: cwb-makeall.c
${CC} -c $(CFLAGS_ALL) -o cwb-makeall.o cwb-makeall.c
cwb-huffcode.o: cwb-huffcode.c
${CC} -c $(CFLAGS_ALL) -o cwb-huffcode.o cwb-huffcode.c
cwb-compress-rdx.o: cwb-compress-rdx.c
${CC} -c $(CFLAGS_ALL) -o cwb-compress-rdx.o cwb-compress-rdx.c
clean:
$(RM) *.o *~
realclean: clean
-$(RM) depend.mk