Changeset 04803bf in mainline for uspace/app/trace/Makefile
- Timestamp:
- 2011-03-21T22:00:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e
- 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
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/Makefile
rb50b5af2 r04803bf 1 1 # 2 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 ## Setup toolchain 30 # 30 USPACE_PREFIX = ../.. 31 BINARY = trace 31 32 32 LIBC_PREFIX = ../../lib/libc 33 SOFTINT_PREFIX = ../../lib/softint 34 35 include $(LIBC_PREFIX)/Makefile.toolchain 36 include $(LIBC_PREFIX)/Makefile.app 37 38 CFLAGS += -I../../srv/kbd/include 39 40 ## Sources 41 # 42 43 OUTPUT = trace 44 SOURCES = trace.c \ 33 SOURCES = \ 34 trace.c \ 45 35 syscalls.c \ 46 36 ipcp.c \ … … 49 39 errors.c 50 40 51 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 52 53 .PHONY: all clean depend disasm 54 55 all: $(OUTPUT) disasm 56 57 -include Makefile.depend 58 59 clean: 60 -rm -f $(OUTPUT) $(OBJECTS) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend 61 62 depend: 63 $(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend 64 65 $(OUTPUT): $(OBJECTS) $(LIBS) 66 $(LD) -T $(LD_SCRIPT) $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 67 68 disasm: 69 $(OBJDUMP) -d $(OUTPUT) >$(OUTPUT).disasm 70 71 %.o: %.S 72 $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@ 73 74 %.o: %.s 75 $(AS) $(AFLAGS) $< -o $@ 76 77 %.o: %.c 78 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 41 include $(USPACE_PREFIX)/Makefile.common
Note:
See TracChangeset
for help on using the changeset viewer.