summaryrefslogtreecommitdiff
path: root/package/heirloom-cpio/src/Makefile
blob: ecaf82243aefddd8420e9b92bdaaced19c6b014c (plain)
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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

all: cpio

SRCS:=		ib_open.c \
		ib_close.c \
		ib_read.c \
		ib_alloc.c \
		ib_free.c \
		ib_getlin.c \
		sfile.c \
		gmatch.c \
		sigset.c \
		memalign.c \
		version.c \
		blast.c \
		crc32.c \
		expand.c \
		explode.c \
		flags.c \
		inflate.c \
		unshrink.c \
		nonpax.c \
		cpio.c

cpio: ${SRCS}
	$(CC) $(CFLAGS_FOR_BUILD) -D_GNU_SOURCE -I. -o $@ $^