Changeset 04803bf in mainline for uspace/srv/vfs/Makefile
- Timestamp:
- 2011-03-21T22:00:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e3
- Parents:
- b50b5af2 (diff), 7308e84 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/srv/vfs/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/Makefile
rb50b5af2 r04803bf 1 1 # 2 # Copyright (c) 200 6Martin Decky3 # Copyright (c) 200 8Jakub Jermar2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 4 4 # All rights reserved. 5 5 # … … 28 28 # 29 29 30 ## Setup toolchain 31 # 30 USPACE_PREFIX = ../.. 31 BINARY = vfs 32 32 33 LIBC_PREFIX = ../../lib/libc34 SOFTINT_PREFIX = ../../lib/softint35 36 include $(LIBC_PREFIX)/Makefile.toolchain37 38 LIBS = $(LIBC_PREFIX)/libc.a39 40 ## Sources41 #42 43 OUTPUT = vfs44 33 SOURCES = \ 45 34 vfs.c \ … … 50 39 vfs_register.c 51 40 52 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 53 54 .PHONY: all clean depend disasm 55 56 all: $(OUTPUT) $(OUTPUT).disasm 57 58 -include Makefile.depend 59 60 clean: 61 -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS) 62 63 depend: 64 $(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend 65 66 $(OUTPUT): $(OBJECTS) $(LIBS) 67 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 68 69 disasm: $(OUTPUT).disasm 70 71 $(OUTPUT).disasm: $(OUTPUT) 72 $(OBJDUMP) -d $< > $@ 73 74 %.o: %.S 75 $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@ 76 77 %.o: %.s 78 $(AS) $(AFLAGS) $< -o $@ 79 80 %.o: %.c 81 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 41 include $(USPACE_PREFIX)/Makefile.common
Note:
See TracChangeset
for help on using the changeset viewer.
