NATIVETOOLSDIR := | |
include $(NATIVETOOLSDIR)rules.mk | |
first: $(NATIVETOOLSDIR)crtn.o $(NATIVETOOLSDIR)nativelibc/libc.a | |
$(NATIVETOOLSDIR)nativelibc/libc.a: | |
make -C $(NATIVETOOLSDIR)nativelibc libc.a | |
SRCS = \ | |
nativelibc/ \ | |
ntdll/include/nt.h \ | |
crtn.c \ | |
rules.mk | |
SRCS += \ | |
Makefile | |
pack: package | |
package: native-tools-src.tar.gz | |
native-tools-src.tar.gz: $(SRCS) | |
tar -cz $(SRCS) -f $@ |