about summary refs log tree commit diff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildtools/Makefile b/buildtools/Makefile
index 8ea61abe..166093ea 100644
--- a/buildtools/Makefile
+++ b/buildtools/Makefile
@@ -28,16 +28,16 @@ EXPLICIT=-DEXPLICIT
 endif
 
 libopt.o: libopt.c
-	$(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) \
+	$(CC_FOR_BUILD) -c -o $@ $(CFLAGS_FOR_BUILD) \
 	  -DSHLIBPREFIXLIST="\"$(SHLIBPREFIXLIST)\"" \
 	  $(STRIP_DLL_VERSION) $(EXPLICIT) $(CFLAGS_PERSONAL) $(CADD) \
-	  -o $@ $<
+	  $<
 
 typegen.o endiangen.o:%.o:%.c
-	$(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) -o $@ $<
+	$(CC_FOR_BUILD) -c -o $@ $(CFLAGS_FOR_BUILD) $<
 
 $(PROGS):%:%.o
-	$(LD_FOR_BUILD) -o $@ $<
+	$(LD_FOR_BUILD) -o $@ $(LDFLAGS_FOR_BUILD) $<
 
 distclean clean: cleanlocal
 .PHONY: cleanlocal