Changes in uspace/app/tester/Makefile [1ea99cc:61cc94e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/Makefile
r1ea99cc r61cc94e 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 = tester 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 = tester 44 SOURCES = tester.c \ 33 SOURCES = \ 34 tester.c \ 45 35 thread/thread1.c \ 46 36 print/print1.c \ … … 48 38 print/print3.c \ 49 39 print/print4.c \ 40 print/print5.c \ 50 41 console/console1.c \ 51 42 stdio/stdio1.c \ … … 53 44 fault/fault1.c \ 54 45 fault/fault2.c \ 46 fault/fault3.c \ 55 47 vfs/vfs1.c \ 56 48 ipc/ping_pong.c \ 57 ipc/register.c \58 ipc/connect.c \59 49 loop/loop1.c \ 60 mm/malloc1.c 50 mm/malloc1.c \ 51 hw/misc/virtchar1.c \ 52 hw/serial/serial1.c 61 53 62 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 63 64 .PHONY: all clean depend disasm 65 66 all: $(OUTPUT) $(OUTPUT).disasm 67 68 -include Makefile.depend 69 70 clean: 71 -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS) 72 73 depend: 74 $(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend 75 76 $(OUTPUT): $(OBJECTS) $(LIBS) 77 $(LD) -T $(LD_SCRIPT) $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 78 79 disasm: $(OUTPUT).disasm 80 81 $(OUTPUT).disasm: $(OUTPUT) 82 $(OBJDUMP) -d $< > $@ 83 84 %.o: %.S 85 $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@ 86 87 %.o: %.s 88 $(AS) $(AFLAGS) $< -o $@ 89 90 %.o: %.c 91 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 54 include $(USPACE_PREFIX)/Makefile.common
Note:
See TracChangeset
for help on using the changeset viewer.