70
71 LDLIBS += -lc
72
73 .KEEP_STATE:
74
75 all: $(LIBS)
76
77 install_h: $(ROOTHDRDIR) $(ROOTHDRS)
78
79 lint:
80 $(LINT.c) $(SRCS)
81
82 check: $(CHECKHDRS)
83
84 $(ROOTLIBDIR) $(ROOTHDRDIR):
85 $(INS.dir)
86
87 $(ROOTHDRDIR)/% : %
88 $(INS.file)
89
90 #ASFLAGS= -K pic -P -D_SYS_SYS_S -D_LOCORE -D_ASM -DPIC -DLOCORE $(CPPFLAGS)
91 ASFLAGS= -P -D_SYS_SYS_S -D_LOCORE -D_ASM -DPIC -DLOCORE $(CPPFLAGS)
92 BUILD.s= $(AS) $(ASFLAGS) $< -o $@
93
94 objs/%.o pics/%.o: ../%.s
95 $(COMPILE.s) -o $@ $<
96 $(POST_PROCESS_O)
97
98 pics/%.o objs/%.o: ../%.c
99 $(COMPILE.c) -o $@ $<
100 $(POST_PROCESS_O)
101
102 pics/%.o objs/%.o: $(UFSDIR)/%.c
103 $(COMPILE.c) -o $@ $<
104 $(POST_PROCESS_O)
105
106 include ../../Makefile.targ
|
70
71 LDLIBS += -lc
72
73 .KEEP_STATE:
74
75 all: $(LIBS)
76
77 install_h: $(ROOTHDRDIR) $(ROOTHDRS)
78
79 lint:
80 $(LINT.c) $(SRCS)
81
82 check: $(CHECKHDRS)
83
84 $(ROOTLIBDIR) $(ROOTHDRDIR):
85 $(INS.dir)
86
87 $(ROOTHDRDIR)/% : %
88 $(INS.file)
89
90 #ASFLAGS= $(AS_PICFLAGS) -P -D_SYS_SYS_S -D_LOCORE -D_ASM -DPIC -DLOCORE $(CPPFLAGS)
91 ASFLAGS= -P -D_SYS_SYS_S -D_LOCORE -D_ASM -DPIC -DLOCORE $(CPPFLAGS)
92 BUILD.s= $(AS) $(ASFLAGS) $< -o $@
93
94 objs/%.o pics/%.o: ../%.s
95 $(COMPILE.s) -o $@ $<
96 $(POST_PROCESS_O)
97
98 pics/%.o objs/%.o: ../%.c
99 $(COMPILE.c) -o $@ $<
100 $(POST_PROCESS_O)
101
102 pics/%.o objs/%.o: $(UFSDIR)/%.c
103 $(COMPILE.c) -o $@ $<
104 $(POST_PROCESS_O)
105
106 include ../../Makefile.targ
|