File: Makefile

package info (click to toggle)
micro-proxy 20021030%2Bdebian-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 60 kB
  • ctags: 21
  • sloc: ansic: 355; makefile: 59; sh: 22
file content (31 lines) | stat: -rw-r--r-- 673 bytes parent folder | download | duplicates (2)
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
# Makefile for micro_proxy

# CONFIGURE: If you are using a SystemV-based operating system, such as
# Solaris, you will need to uncomment this definition.
#SYSV_LIBS =	-lnsl -lsocket


BINDIR =	/usr/local/sbin
MANDIR =	/usr/local/man/man8
CC =		gcc
#CFLAGS =	-O
CFLAGS =	-g
#LDFLAGS =	-s $(SYSV_LIBS)
LDFLAGS =	-g $(SYSV_LIBS)

all:		micro_proxy

micro_proxy:	micro_proxy.o
	$(CC) $(CFLAGS) micro_proxy.o $(LDFLAGS) -o micro_proxy

micro_proxy.o:	micro_proxy.c
	$(CC) $(CFLAGS) -c micro_proxy.c

install:	all
	rm -f $(BINDIR)/micro_proxy
	cp micro_proxy $(BINDIR)
	rm -f $(MANDIR)/micro_proxy.8
	cp micro_proxy.8 $(MANDIR)

clean:
	rm -f micro_proxy *.o core core.* *.core