Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libencoder/h264/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ export AR=$(CROSS_CC_PREFIX)ar

TARGET=h264EncoderDemo
AMLENC_LIB=test.o
LDFLAGS += -lm -lrt -Lbjunion_enc -lvpcodec
LDFLAGS +=-Lbjunion_enc -lvpcodec -lm -lrt
CFLAGS +=-O2 -g

$(TARGET):$(AMLENC_LIB)
$(CXX) $(CFLAGS) $(LDFLAGS) $< -o $(TARGET)
$(CXX) $(CFLAGS) $< $(LDFLAGS) -o $(TARGET)

$(AMLENC_LIB):%.o:%.cpp
$(CXX) -c $(CFLAGS) $< -o $@
Expand Down
4 changes: 2 additions & 2 deletions libencoder/h265/EncoderAPI-HEVC/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
CXX:=aarch64-linux-gnu-g++
TARGET=h265EncoderDemo
AMLENC_LIB=test.o
LDFLAGS += -lm -lrt -lge2d -lion -Lhevc_enc -lvphevcodec
LDFLAGS +=-Lhevc_enc -lvphevcodec -lge2d -lion -lrt -lm
#LDFLAGS += -lm -lrt -Lhevc_enc -lvphevcodec
CFLAGS+=-O2 -g -I./../../../libion/include/ion
LIBS += -L./../../../libion/ -L./../../../libge2d/libge2d

$(TARGET):$(AMLENC_LIB)
$(CXX) $(CFLAGS) $(LDFLAGS) $(LIBS) $< -o $(TARGET) $(LinkIn)
$(CXX) $(CFLAGS) $(LIBS) $< $(LDFLAGS) -o $(TARGET) $(LinkIn)

$(AMLENC_LIB):%.o:%.cpp
$(CXX) -c $(CFLAGS) $< -o $@
Expand Down