|
|
1.1 root 1: !include <ntwin32.mak>
2:
1.1.1.4 ! root 3: !if "$(CPU)" == "i386"
! 4: noentry = /NOENTRY
! 5: !else
! 6: noentry =
! 7: !endif
! 8:
1.1 root 9: all: main.exe the_dll.dll
10:
11: main.obj: main.c
1.1.1.2 root 12: $(cc) $(cdebug) $(cflags) $(cvars) main.c
1.1 root 13:
1.1.1.2 root 14: the_dll.rbj: the_dll.rc the_dll.bmp the_dll.cur the_dll.ico
15: rc -r -fo the_dll.res the_dll.rc
16: cvtres -$(CPU) the_dll.res -o the_dll.rbj
1.1 root 17:
1.1.1.2 root 18: the_dll.dll: the_dll.def the_dll.rbj
1.1.1.3 root 19: $(link) \
1.1 root 20: -dll \
1.1.1.4 ! root 21: $(noentry) \
1.1 root 22: -out:the_dll.dll \
1.1.1.3 root 23: -subsystem:windows \
24: the_dll.rbj
1.1 root 25:
26: main.exe: main.obj main.def
1.1.1.3 root 27: $(link) $(linkdebug) $(guiflags) -out:main.exe main.obj $(guilibsdll)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.