root / rules.mak @ a1f6684d
History | View | Annotate | Download (548 Bytes)
1 | 17759187 | aliguori | |
---|---|---|---|
2 | 17759187 | aliguori | %.o: %.c |
3 | 28c699a2 | aliguori | $(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<," CC $(TARGET_DIR)$@") |
4 | 17759187 | aliguori | |
5 | 17759187 | aliguori | %.o: %.S |
6 | 28c699a2 | aliguori | $(call quiet-command,$(CC) $(CPPFLAGS) -c -o $@ $<," AS $(TARGET_DIR)$@") |
7 | 17759187 | aliguori | |
8 | 17759187 | aliguori | %.o: %.m |
9 | 28c699a2 | aliguori | $(call quiet-command,$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<," OBJC $(TARGET_DIR)$@") |
10 | 17759187 | aliguori | |
11 | 28c699a2 | aliguori | LINK = $(call quiet-command,$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)," LINK $(TARGET_DIR)$@") |
12 | 3aa892d7 | aliguori | |
13 | 3aa892d7 | aliguori | %$(EXESUF): %.o |
14 | 3aa892d7 | aliguori | $(LINK) |
15 | 4f188f88 | aliguori | |
16 | 93a0dba7 | aliguori | %.a: |
17 | 28c699a2 | aliguori | $(call quiet-command,rm -f $@ && $(AR) rcs $@ $^," AR $(TARGET_DIR)$@") |
18 | 93a0dba7 | aliguori | |
19 | 28c699a2 | aliguori | quiet-command = $(if $(V),$1,$(if $(2),@echo $2 && $1, @$1)) |