File: Makefile.examples

package info (click to toggle)
ftplib 3-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 848 kB
  • ctags: 509
  • sloc: ansic: 1,860; python: 152; makefile: 122; sh: 10
file content (23 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
TARGETS = qftp
OBJECTS = qftp.o
SOURCES = qftp.c

DEBUG = -g
INCLUDES =
CFLAGS = -Wall $(DEBUG) $(INCLUDES)

all : $(TARGETS)
	-ln -s qftp ftpdir
	-ln -s qftp ftpget
	-ln -s qftp ftpsend

clean :
	rm -f $(OBJECTS) core *~ ftpdir ftpget ftpsend

clobber : clean
	rm -f $(TARGETS) $(OLDTARGETS)

qftp.o : ftplib.h

qftp : qftp.o
	cc ${CFLAGS} -o $@ $< -lftp