Changes in uspace/app/tester/Makefile [61cc94e:1ea99cc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/Makefile
r61cc94e r1ea99cc 1 1 # 2 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar4 3 # All rights reserved. 5 4 # … … 28 27 # 29 28 30 USPACE_PREFIX = ../.. 31 BINARY = tester 29 ## Setup toolchain 30 # 32 31 33 SOURCES = \ 34 tester.c \ 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 \ 35 45 thread/thread1.c \ 36 46 print/print1.c \ … … 38 48 print/print3.c \ 39 49 print/print4.c \ 40 print/print5.c \41 50 console/console1.c \ 42 51 stdio/stdio1.c \ … … 44 53 fault/fault1.c \ 45 54 fault/fault2.c \ 46 fault/fault3.c \47 55 vfs/vfs1.c \ 48 56 ipc/ping_pong.c \ 57 ipc/register.c \ 58 ipc/connect.c \ 49 59 loop/loop1.c \ 50 mm/malloc1.c \ 51 hw/misc/virtchar1.c \ 52 hw/serial/serial1.c 60 mm/malloc1.c 53 61 54 include $(USPACE_PREFIX)/Makefile.common 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 $@
Note:
See TracChangeset
for help on using the changeset viewer.