summaryrefslogtreecommitdiff
path: root/utils/sysdeps/Makefile
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-03 03:26:20 +0100
committerSam James <sam@gentoo.org>2022-04-06 01:20:39 +0100
commit01603e2b71eb93770137daf6ed93b54741ce14dc (patch)
treeb6be56cb7fc5de4ad7213ba68df91d250cd73cd9 /utils/sysdeps/Makefile
parent9fbd6009cd917f1152a367fa7e5ae3993133c1e4 (diff)
downloadopen-iscsi-01603e2b71eb93770137daf6ed93b54741ce14dc.tar.gz
Makefiles: respect $(CC) fully (don't hardcode GCC); use $(RM)
- Don't hardcode GCC, instead respect the detected CC (or from the environment) - Use $(RM) as the location may vary and we've already done the work to detect it Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'utils/sysdeps/Makefile')
-rw-r--r--utils/sysdeps/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/sysdeps/Makefile b/utils/sysdeps/Makefile
index 4299164..3387b57 100644
--- a/utils/sysdeps/Makefile
+++ b/utils/sysdeps/Makefile
@@ -8,9 +8,9 @@ SYSDEPS_OBJS=sysdeps.o
all: $(SYSDEPS_OBJS)
clean:
- rm -f *.o .depend
+ $(RM) *.o .depend
depend:
- gcc $(CFLAGS) -M `ls *.c` > .depend
+ $(CC) $(CFLAGS) -M `ls *.c` > .depend
-include .depend