Line
Link Here
|
0 |
-- buffer-1.19/Makefile |
0 |
++ buffer-1.19/Makefile |
Lines 10-16
Link Here
|
10 |
# Ampex drives, such as the DST 310. |
10 |
# Ampex drives, such as the DST 310. |
11 |
|
11 |
|
12 |
CC=gcc |
12 |
CC=gcc |
13 |
CFLAGS=-Wall -O2 -fomit-frame-pointer -pipe |
13 |
CFLAGS?=-Wall -O2 -fomit-frame-pointer -pipe |
|
|
14 |
LDFLAGS?= |
14 |
|
15 |
|
15 |
# Where to install buffer and its manual pages |
16 |
# Where to install buffer and its manual pages |
16 |
INSTBIN=/usr/bin |
17 |
INSTBIN=/usr/bin |
Lines 28-34
Link Here
|
28 |
sem.o: sem.c |
29 |
sem.o: sem.c |
29 |
|
30 |
|
30 |
buffer: buffer.o sem.o |
31 |
buffer: buffer.o sem.o |
31 |
$(CC) -o buffer $(CFLAGS) buffer.o sem.o |
32 |
$(CC) -o buffer $(CFLAGS) buffer.o sem.o $(LDFLAGS) |
32 |
|
33 |
|
33 |
clean: |
34 |
clean: |
34 |
$(RM) -f *.o core buffer .merrs |
35 |
$(RM) -f *.o core buffer .merrs |