File: Makefile

package info (click to toggle)
uml-utilities 20040406-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 704 kB
  • ctags: 398
  • sloc: ansic: 3,169; perl: 929; makefile: 203; exp: 129; sh: 92
file content (17 lines) | stat: -rw-r--r-- 261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
OBJS = tunctl.o
BIN = tunctl
CFLAGS = -g -Wall

BIN_DIR ?= /usr/bin

all : $(BIN)

$(BIN) : $(OBJS)
	$(CC) $(CFLAGS) -o $(BIN) $(OBJS)

clean : 
	rm -f $(BIN) $(OBJS) *~

install : $(BIN)
	install -d $(DESTDIR)$(BIN_DIR)
	install -s $(BIN) $(DESTDIR)$(BIN_DIR)