# Defined for UC-8410/8416/8418-LX PLATFORM = UC8400 #PLATFORM = ubuntu ifeq ($(PLATFORM),UC8400) PREFIX=xscale-linux- INCLUDE_DIR=/usr/local/xscale_sbgCom/src LIBRARY=/usr/local/xscale_lib ONAME=logig20-mx else PREFIX= INCLUDE_DIR=/usr/local/include/sbgCom/ LIBRARY=/usr/local/lib/libSbgComSerial ONAME=logig20 endif CC=$(PREFIX)gcc STRIP=$(PREFIX)strip CFLAGS= CXXFLAGS= OBJS=logig20.o all: logig20 logig20: $(OBJS) $(CC) $(CFLAGS) $(OBJS) -L$(LIBRARY) -lSbgComSerial -o $(ONAME) clean: rm *.o logig20 > /dev/null 2>&1