Revision 07dec06e common.mak

View differences:

common.mak
21 21
CPPFLAGS := -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(CPPFLAGS)
22 22

  
23 23
%.o: %.c
24
	$(DEPEND_CMD)
25
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LIBOBJFLAGS) -c $(CC_O) $<
24
	$(CCDEP)
25
	$(CC) $(CPPFLAGS) $(CFLAGS) $(CC_DEPFLAGS) $(LIBOBJFLAGS) -c $(CC_O) $<
26 26

  
27 27
%.o: %.S
28
	$(DEPEND_CMD)
29
	$(AS) $(CPPFLAGS) $(ASFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
28
	$(ASDEP)
29
	$(AS) $(CPPFLAGS) $(ASFLAGS) $(AS_DEPFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
30 30

  
31 31
%.ho: %.h
32 32
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LIBOBJFLAGS) -Wno-unused -c -o $@ -x c $<

Also available in: Unified diff