Improve makefile

This commit is contained in:
Matthew Garrett 2012-07-09 10:38:19 -04:00
parent a3996218ba
commit 37e456be5c

View File

@ -27,11 +27,11 @@ TARGET = shim.efi
OBJS = shim.o shim.so OBJS = shim.o shim.so
SOURCES = shim.c shim.h signature.h PeImage.h cert.h SOURCES = shim.c shim.h signature.h PeImage.h cert.h
all: Cryptlib/libcryptlib.a Cryptlib/OpenSSL/libopenssl.a $(TARGET) all: $(TARGET)
shim.o: $(SOURCES) shim.o: $(SOURCES)
shim.so: $(OBJS) shim.so: $(OBJS) Cryptlib/libcryptlib.a Cryptlib/OpenSSL/libopenssl.a
$(LD) -o $@ $(LDFLAGS) $^ $(EFI_LIBS) $(LD) -o $@ $(LDFLAGS) $^ $(EFI_LIBS)
Cryptlib/libcryptlib.a: Cryptlib/libcryptlib.a: