Files
hisi_SS524V100_SDK/mpp/sample/smp_linux.mak
T

28 lines
539 B
Makefile
Executable File

# target source
OBJS := $(SMP_SRCS:%.c=%.o)
CFLAGS += $(COMM_INC)
MPI_LIBS += $(REL_LIB)/libss_hdmi.a
MPI_LIBS += $(LIBS_LD_CFLAGS)
.PHONY : clean all
all: $(TARGET)
$(TARGET):$(COMM_OBJ) $(OBJS)
$(CC) $(CFLAGS) -lpthread -lm -o $(TARGET_PATH)/$@ $^ -Wl,--start-group $(MPI_LIBS) $(SENSOR_LIBS) $(AUDIO_LIBA) $(INIPARSER_LIB) $(REL_LIB)/libsecurec.a -Wl,--end-group
clean:
@rm -f $(TARGET_PATH)/$(TARGET)
@rm -f $(OBJS)
@rm -f $(COMM_OBJ)
cleanstream:
@rm -f *.h264
@rm -f *.h265
@rm -f *.jpg
@rm -f *.mjp
@rm -f *.mp4