File: Makefile

package info (click to toggle)
xchain 1.0.1-1
  • links: PTS
  • area: main
  • in suites: potato, slink
  • size: 68 kB
  • ctags: 40
  • sloc: ansic: 399; makefile: 46; sh: 25
file content (22 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESTDIR = /
# This is so dpkg-buildpackage can build in the correct dir

CC=gcc
CFLAGS=-O2 -Wall

OBJS=		xchain.o

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

all:		xchain

chain:	$(OBJS)
		$(CC) -o xchain $(CFLAGS) $(OBJS)
		chmod 0755 xchain

install:	xchain
		./install.sh $(DESTDIR)

clean:
		rm -f *.o *~ core *.bak ./xchain ./build