blob: 271db178e9896ec1a116b6ece25f34608570531d [file] [log] [blame]
Corey Tabaka84697242009-03-26 02:32:01 -04001
2$(BUILDDIR)/%.o: %.c $(SRCDEPS)
3 @$(MKDIR)
4 @echo compiling $<
5 $(NOECHO)$(CC) $(CFLAGS) --std=c99 $(INCLUDES) -c $< -MD -MT $@ -MF $(@:%o=%d) -o $@
6
7$(BUILDDIR)/%.o: %.cpp $(SRCDEPS)
8 @$(MKDIR)
9 @echo compiling $<
10 $(NOECHO)$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c $< -MD -MT $@ -MF $(@:%o=%d) -o $@
11
12$(BUILDDIR)/%.o: %.S $(SRCDEPS)
13 @$(MKDIR)
14 @echo compiling $<
15 $(NOECHO)$(CC) $(CFLAGS) $(ASMFLAGS) $(INCLUDES) -c $< -MD -MT $@ -MF $(@:%o=%d) -o $@
16