Create Project for repo.or.cz
[vp.git] / test / Makefile
blob0c2a22f811df28441ddad57e008042672b918a75
2 ################################################################################
3 # Rules
4 ################################################################################
5 include $(TOP_DIR)/Rules
8 ################################################################################
9 # Source and Target
10 ################################################################################
11 TARGET = test.o
13 # SRCS = thread_test.cpp
14 # SRCS = cond_test.cpp
15 # SRCS = dsp_test.cpp
16 # SRCS = dsp_test2.cpp
17 # SRCS = video_test.cpp
18 # SRCS = h264codec_test1.cpp FrameExtractor.cpp H264Frames.cpp
19 # SRCS = pp_test.cpp
21 # SRCS = h264_test.cpp FrameExtractor.cpp H264Frames.cpp
22 # SRCS = h264enc_test.cpp
23 # SRCS = h264edf_test.cpp
24 # SRCS = h264ed_test.cpp
26 # SRCS = round_test.cpp
27 # SRCS = jitter_test.cpp
28 # SRCS = tcp_test.cpp
29 # SRCS = sock_test.cpp
30 # SRCS = ludp_test.cpp
31 SRCS = vphone_test.cpp
34 ################################################################################
35 # All rule
36 ################################################################################
38 OBJS = $(patsubst %.cpp,%.o,$(SRCS))
39 DEPS = $(patsubst %.cpp,.%.d,$(SRCS))
41 .PHONY: all clean
42 all: $(TARGET)
45 ################################################################################
46 # Target rule
47 ################################################################################
48 $(TARGET): $(DEPS) $(OBJS) $(LIBS) Makefile
49 @echo " LD $@"
50 @$(LD) -i -o $@ $(OBJS)
53 ################################################################################
54 # Depend rule
55 ################################################################################
56 sinclude $(DEPS)
59 ################################################################################
60 # Clean rule
61 ################################################################################
62 clean:
63 @echo " CLEAN"
64 @rm $(DEPS) $(OBJS) $(TARGET) -f