blob: 034ee7514f42b6550c865188468e2fe1b600f4e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
*** Makefile.orig Thu Feb 6 08:00:00 1997
--- Makefile Mon Apr 28 13:47:27 1997
***************
*** 1,11 ****
SRCS= include.c list.c main.c subs.c var.c wild.c
OBJS= include.o list.o main.o subs.o var.o wild.o
! CFLAGS= -g -O2 -Wall -Wstrict-prototypes
LFLAGS=
EXE= xmake
! IBDIR= /usr/local/bin
! IMDIR= /usr/local/man/man1
all: $(EXE)
--- 1,12 ----
SRCS= include.c list.c main.c subs.c var.c wild.c
OBJS= include.o list.o main.o subs.o var.o wild.o
! CFLAGS= -O2 -Wall
LFLAGS=
EXE= xmake
! PREFIX?= /usr/local
! IBDIR= ${PREFIX}/bin
! IMDIR= ${PREFIX}/man/man1
all: $(EXE)
***************
*** 15,20 ****
clean:
rm -f $(OBJS) $(EXE)
! install: all
! install -c -s -m 755 $(EXE) $(IBDIR)/$(EXE)
!
--- 16,21 ----
clean:
rm -f $(OBJS) $(EXE)
! install:
! install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} $(EXE) $(IBDIR)
! install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} xmake.1 $(IMDIR)
|