From 9bc9d86e0c8151c7534b562a05b22bc833c7c95b Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 17 Aug 2016 20:49:18 -0300 Subject: [PATCH] common/Makefile.c-common: preserve directory for object files --- common/Makefile.c-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Makefile.c-common b/common/Makefile.c-common index 6c9fe68..487c3ff 100755 --- a/common/Makefile.c-common +++ b/common/Makefile.c-common @@ -71,7 +71,7 @@ MKDEP = \ .PHONY: generated_headers %$(OBJ_SUFFIX): %.c | generated_headers - $(CC) $(CFLAGS) -c $< + $(CC) $(CFLAGS) -c -o $@ $< $(MKDEP) # ----- Cleanup ---------------------------------------------------------------