You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
406 B

13 years ago
13 years ago
13 years ago
13 years ago
  1. # Makefile for symlinks
  2. CC=gcc
  3. OWNER=root
  4. GROUP=root
  5. MANDIR=/usr/man/man8/symlinks.8
  6. BINDIR=/usr/local/bin
  7. all: symlinks
  8. symlinks: symlinks.c
  9. $(CC) -Wall -Wstrict-prototypes -O2 $(CFLAGS) -o symlinks symlinks.c
  10. install: all symlinks.8
  11. $(INSTALL) -c -o $(OWNER) -g $(GROUP) -m 755 symlinks $(BINDIR)
  12. $(INSTALL) -c -o $(OWNER) -g $(GROUP) -m 644 symlinks.8 $(MANDIR)
  13. clean:
  14. rm -f symlinks *.o core