Line | |
---|
1 | # Makefile for pax
|
---|
2 |
|
---|
3 | CC = exec cc
|
---|
4 | CFLAGS = -O -D_POSIX_SOURCE -DNET2_STAT=1 -D_MINIX=1
|
---|
5 | LDFLAGS= -i
|
---|
6 |
|
---|
7 | all: pax
|
---|
8 |
|
---|
9 | OBJ = ar_io.o ar_subs.o buf_subs.o cache.o cpio.o file_subs.o ftree.o \
|
---|
10 | gen_subs.o getoldopt.o options.o pat_rep.o pax.o sel_subs.o \
|
---|
11 | tables.o tar.o tty_subs.o fgetln.o
|
---|
12 |
|
---|
13 | pax: $(OBJ)
|
---|
14 | $(CC) $(LDFLAGS) -o $@ $(OBJ)
|
---|
15 | install -S 256k $@
|
---|
16 |
|
---|
17 | install: pax
|
---|
18 | install -cs -o bin pax /usr/bin/pax
|
---|
19 |
|
---|
20 | clean:
|
---|
21 | rm -f *.o *.bak core pax
|
---|
Note:
See
TracBrowser
for help on using the repository browser.