Use ifneq instead of ifdef for CROSS option

This commit is contained in:
Martin Kroeker
2020-11-22 16:33:34 +01:00
committed by GitHub
parent 857afcc41d
commit ebb8788696

View File

@@ -45,7 +45,7 @@ $(UTESTBIN): $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ ../$(LIBNAME) $(EXTRALIB) $(FEXTRALIB)
run_test: $(UTESTBIN)
ifndef CROSS
ifneq ($(CROSS), 1)
./$(UTESTBIN)
endif