summaryrefslogtreecommitdiff
path: root/package/heirloom-cpio/src/Makefile
blob: 0762453b9a819c9cd9722d41df0193f77fc1cfcb (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) -D_GNU_SOURCE -I. -o $@ $^