vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

Makefrag (456B)


      1 ifeq ($(OS),linux)
      2 ifeq ($(ARCH),x86_64)
      3 else
      4 
      5 vxlinux/%.o: vxlinux/%.c
      6 	$(HOST_CC) -Ilibvx32 -c $(HOST_CFLAGS) -o $@ $<
      7 
      8 vxlinux/vxlinux: vxlinux/vxlinux.o vxlinux/strsyscall.o libvx32/libvx32.a
      9 	$(HOST_CC) -o $@ $^
     10 
     11 CLEAN_FILES += vxlinux/*.o vxlinux/vxlinux 
     12 
     13 all: vxlinux/vxlinux
     14 vxlinux/install: $(BINDIR)/vxlinux
     15 
     16 $(BINDIR)/vxlinux: vxlinux/vxlinux
     17 	$(INSTALL) $< $@
     18 
     19 vxlinux/strsyscall.c: vxlinux/mkstrsyscall.pl
     20 	$< > $@_ && mv $@_ $@
     21 
     22 endif
     23 endif