Windows NT Native Tools Wiki
Status: Alpha
Brought to you by:
low-power
NATIVETOOLSDIR := ../nativetools/ # Path to NativeTools; The ending slash cannot be omitted!
include $(NATIVETOOLSDIR)rules.mk
# Definition of herein is optional
CC = <...> #(Optional)
LD = <...> #(Optional)
<...> = <...> #(Optional)
first: myapp.exe [<...>]
# If your program are linking with a single translation unit, omit the following
OBJS = \
$(NATIVETOOLSDIR)crtn.o \
obj1.o \
obj2.o \
obj3.o \
<...>
myapp.exe: $(OBJS)
$(LD) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
[<...>]