File: Makefile

package info (click to toggle)
symlinks 1.2-4.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 40 kB
  • ctags: 25
  • sloc: ansic: 305; makefile: 49
file content (17 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Makefile for symlinks
 
prefix = /usr/local

all: symlinks


symlinks: symlinks.c
	$(CC) -o symlinks $(CPPFLAGS) $(DEFS) $(CFLAGS) symlinks.c $(LDFLAGS)
 
install: all symlinks.8
	install -d $(prefix)/bin $(prefix)/man/man8
	install -m 755 -o root -g root symlinks $(prefix)/bin
	install -m 644 -o root -g root symlinks.8 $(prefix)/man/man8

clean:
	rm -f symlinks *.o core