-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
35 lines (23 loc) · 700 Bytes
/
Copy pathmakefile
File metadata and controls
35 lines (23 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
##########################################
#
#
#
##########################################
LIBDIR := ffmpeg-3.4.1-macos64-shared/bin/
LIBS := avutil.55 avformat.57 avcodec.57
INCLUDES := ffmpeg-3.4.1-macos64-dev/include/
TARGET := main
TARGETDIR := $(LIBDIR)
##########################################
CC := g++
RM-F := rm -f
##########################################
##########################################
all: $(TARGET)
main: Main.cpp
$(CC) Main.cpp KEncoder.cpp KDemuxer.cpp -o $(addprefix $(TARGETDIR), $(TARGET)) $(addprefix -L, $(LIBDIR)) $(addprefix -l, $(LIBS)) -I$(INCLUDES)
clean:
$(RM-F) *.o
$(RM-F) *.d
veryclean: clean
$(RM-F) $(addprefix $(TARGETDIR), $(TARGET))