File: Makefile

package info (click to toggle)
ftpgrab 0.1.5-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 444 kB
  • sloc: cpp: 2,906; makefile: 103
file content (27 lines) | stat: -rw-r--r-- 776 bytes parent folder | download
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
CC	=	g++
CFLAGS	=	-O2 -Wall

#LIBS	=	-lefence
LIBS	=	-lpthread
LINK	=	

OBJS	=	main.o fgstring.o fgexc.o fgftpcon.o fgfileinfo.o \
		fgfilegrab.o fgalist.o fgfshelp.o fgpickall.o \
		fgdlist.o fgdlaction.o fgactioni.o fgfilelist.o \
		fgpickallsync.o fgdelaction.o fgfpicki.o fgpickbest.o \
		fgscomp.o fgicomp.o fgbdfname.o fgmrank.o fglogger.o \
		fgdyymmddcomp.o fgfncomp.o fgpickregexp.o \
		fgpickregexpsync.o fgconi.o fgcharcomp.o

.cc.o:
		$(CC) -c $*.cc $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS)

ftpgrab:	$(OBJS)
		$(CC) -o ftpgrab $(OBJS) $(LINK) $(LIBS) $(LDFLAGS)

install:	ftpgrab
		-install -o root -g root -m 755 ftpgrab debian/ftpgrab/usr/bin/
		-install -o root -g root -m 644 debian/ftpgrab.1 debian/ftpgrab/usr/share/man/man1/

clean:
		rm -f *.o ftpgrab fglog.out