aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/Makefile
blob: c900a4ff9996b37f80b92a5810001f8a494005b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LIBFILES = asn1.o asn1_parser.o enumerator.o chunk.o oid.o identification.o \
	x509.o
EFILIBFILES = $(patsubst %.o,%.efi.o,$(LIBFILES))

include ../../Make.rules

libasn1.a: $(LIBFILES)
libasn1-efi.a: $(EFILIBFILES)

test.o: test.c ../../include/x509.h
	$(CC) -I../../include -c -o $@ $<

test: test.o libasn1.a
	$(CC) -o $@ $< libasn1.a