Changeset 079f440 in mainline for uspace/lib/Makefile.common
- Timestamp:
- 2010-01-16T20:59:55Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 94790d01
- Parents:
- cf240cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/Makefile.common
rcf240cb r079f440 48 48 JOB = $(OUTPUT).job 49 49 50 OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))50 OBJECTS = $(addsuffix .o,$(basename $(SOURCES))) 51 51 52 -include $(USPACE_PREFIX)/../Makefile.config 52 53 include $(LIBC_PREFIX)/Makefile.toolchain 53 54 … … 63 64 $(LIBS) \ 64 65 \ 65 $(OUTPUT) 66 $(OUTPUT) \ 67 $(EXTRA_OUTPUT) 66 68 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 67 69 68 70 clean: 69 rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) 71 rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(EXTRA_OUTPUT) $(EXTRA_CLEAN) 70 72 find . -name '*.o' -follow -exec rm \{\} \; 71 73 … … 77 79 $(AR) rc $@ $(OBJECTS) 78 80 81 %.o: %.S $(DEPEND) 82 $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@ 83 ifeq ($(PRECHECK),y) 84 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ 85 endif 86 87 %.o: %.s $(DEPEND) 88 $(AS) $(AFLAGS) $< -o $@ 89 ifeq ($(PRECHECK),y) 90 $(JOBFILE) $(JOB) $< $@ as asm $(AFLAGS) 91 endif 92 79 93 %.o: %.c $(DEPEND) 80 94 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ … … 83 97 endif 84 98 85 $(DEPEND): 99 $(DEPEND): $(PRE_DEPEND) 86 100 makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(SOURCES) > $@ 2> /dev/null 87 101 -[ -f $(DEPEND_PREV) ] && diff -q $(DEPEND_PREV) $@ && mv -f $(DEPEND_PREV) $@
Note:
See TracChangeset
for help on using the changeset viewer.