I\'m trying to do this in a Makefile:
value = 2.0 if ${greaterthan ${value}, 1.50} -> execute a rule elseif ${lessthan ${value}, 0.50} -> execute a ru
Try this
In this example VER is checked for greater than 4
ifeq ($(shell test $(VER) -gt 4; echo $$?),0) IFLAGS += -I$(TOPDIR)/include LIBS += -L$(TOPDIR)/libs -lpcap endif