blob: 6dfa10beeff0b17ecfa206e10c1751c0c746dfef [file] [log] [blame] [raw]
NATIVETOOLSDIR :=
include $(NATIVETOOLSDIR)rules.mk
CFLAGS += -Wall -O1
first: $(NATIVETOOLSDIR)crtn.o $(NATIVETOOLSDIR)nativelibc/c.dll $(NATIVETOOLSDIR)ntdll/libntdll.a
$(NATIVETOOLSDIR)nativelibc/c.dll:
make -C $(NATIVETOOLSDIR)nativelibc c.dll
$(NATIVETOOLSDIR)nativelibc/libc.a:
make -C $(NATIVETOOLSDIR)nativelibc libc.a
$(NATIVETOOLSDIR)ntdll/libntdll.a:
make -C $(NATIVETOOLSDIR)ntdll libntdll.a
SRCS = \
nativelibc/ \
ntdll/ \
crtn.c \
rules.mk \
COPYING
SRCS += \
Makefile
pack: package
package: native-tools-src.tar.gz
native-tools-src.tar.gz: $(SRCS)
tar -cz $(SRCS) -f $@