limit fstBC to 30bp in Python3 ver.
[GalaxyCodeBases.git] / tools / torrent / mktorrent_crc / rules.mk
blob596082215613b243ebeb91d817896bcf634bc3ba
1 # This file is part of mktorrent
2 # Copyright (C) 2007, 2009 Emil Renner Berthing
4 # mktorrent is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # mktorrent is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18 .PHONY: strip indent clean install uninstall
20 prefix: prefix.c
21 $(CC) $(CFLAGS) $(DEFINES) $(LDFLAGS) $< -o $@
23 $(program): $(OBJS)
24 $(CC) $(CFLAGS) $(OBJS) -o $(program) $(LDFLAGS) $(LIBS)
26 allinone: $(SRCS) $(HEADERS) prefix
27 $(CC) $(CFLAGS) $(DEFINES) -DPRIoff="\"`./prefix`d\"" -DVERSION="\"$(version)\"" -DALLINONE main.c -o $(program) $(LDFLAGS) $(LIBS)
29 strip:
30 strip $(program)
32 indent:
33 indent -kr -i8 *.c *.h
35 clean:
36 rm -f $(program) prefix *.o *.c~ *.h~
38 install: $(program)
39 $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
40 $(INSTALL) -m755 $(program) $(DESTDIR)$(PREFIX)/bin/$(program)
42 uninstall:
43 rm -f $(DESTDIR)$(PREFIX)/bin/$(program)