File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
CFLAGS = -O3 -D__STDC_CONSTANT_MACROS
2
- LDFLAGS = -lswscale -lavdevice -lavformat -lavcodec -lswresample -lavutil -lpthread -lbz2 -lz -lc -lrt
3
- INSTALLED_DEPS = -Idependencies/include -Ldependencies/lib
2
+ LDFLAGS = -lswscale -lavdevice -lavformat -lavcodec -lswresample -lavutil -lpthread -lbz2 -lz -lc -liconv -llzma
3
+ INSTALLED_DEPS = -Idependencies/include -Ldependencies/lib -L/usr/local/lib
4
+ FRAMEWORKS = -framework CoreMedia -framework AudioToolbox -framework CoreVideo -framework VideoToolbox -framework CoreFoundation
4
5
5
6
mpegflow : mpegflow.cpp
6
- g++ $< -o $@ $(CFLAGS ) $(LDFLAGS ) $(INSTALLED_DEPS )
7
+ g++ $< -o $@ $(CFLAGS ) $(LDFLAGS ) $(INSTALLED_DEPS ) $( FRAMEWORKS )
7
8
8
9
vis : vis.cpp
9
10
g++ $< -o $@ $(CFLAGS ) -lopencv_highgui -lopencv_videoio -lopencv_imgproc -lopencv_imgcodecs -lopencv_core -lpng $(LDFLAGS ) $(INSTALLED_DEPS )
You can’t perform that action at this time.
0 commit comments