File: Makefile

package info (click to toggle)
symlinks 1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 144 kB
  • sloc: ansic: 971; makefile: 25
file content (16 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Makefile for symlinks

CC = gcc
CFLAGS ?= -O2 -g
 
all: symlinks

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

clean:
	rm -f symlinks *.o core