Makefile: Output to explicit target

Don't depend on the C compiler's default output file name and path. Make
knows what it wants to build and where it should go, and this may not
always align with the C compiler default, so tell the C compilter to
output to the Make target explicitly.
This commit is contained in:
Jaeden Amero 2019-04-26 12:24:48 +01:00
parent 521dbc67da
commit 8df5de42e2

View file

@ -198,7 +198,7 @@ libmbedcrypto.dll: $(OBJS_CRYPTO)
.c.o:
echo " CC $<"
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -c $<
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -c $< -o $@
clean:
ifndef WINDOWS