use $(CC) instead of hardcoded gcc, so it works properly with clang as well

This commit is contained in:
Thomas von Dein
2020-12-05 15:48:34 +01:00
parent 13a3893432
commit da71b80093

View File

@@ -31,10 +31,10 @@ MAN = udpxd.1
all: $(DST)
$(DST): $(OBJS)
gcc $(OBJS) -o $(DST)
$(CC) $(OBJS) -o $(DST)
%.o: %.c
gcc -c $(CFLAGS) $*.c -o $*.o
$(CC) -c $(CFLAGS) $*.c -o $*.o
clean:
rm -f *.o $(DST)