Makefrag (584B)
1 vxrun/vxrun.o: vxrun/vxrun.c 2 $(HOST_CC) -Ilibvx32 -c $(HOST_CFLAGS) -o $@ $< 3 4 vxrun/%.o: vxrun/%.c 5 $(VX32_CC) -Ilibvxc/include -c $(VX32_CFLAGS) -o $@ $< 6 7 vxrun/vxrun: vxrun/vxrun.o libvx32/libvx32.a 8 $(HOST_CC) -o $@ $^ 9 10 vxrun/hello: vxrun/hello.o libvxc/libc.a 11 $(VX32_CC) -o $@ $^ 12 13 vxrun/float: vxrun/float1.o vxrun/float2.o libvxc/libc.a 14 $(VX32_CC) -o $@ $^ 15 16 vxrun/fib: vxrun/fib.o libvxc/libc.a 17 $(VX32_CC) -o $@ $^ 18 19 CLEAN_FILES += vxrun/*.o vxrun/vxrun vxrun/hello 20 21 all: vxrun/hello vxrun/vxrun 22 vxrun/install: $(BINDIR)/vxrun 23 24 $(BINDIR)/vxrun: vxrun/vxrun 25 $(INSTALL) $< $@ 26