Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
974 B

  1. !ifdef DEBUG
  2. CFLAGS = /Zi /D BETA=$(BETA) DEBUG=$(DEBUG)
  3. LFLAGS = /CO
  4. !endif
  5. !ifdef BETA
  6. CFLAGS = /D BETA=$(BETA)
  7. !endif
  8. winmine.exe: winmine.obj rtns.obj grafix.obj util.obj sound.obj pref.obj \
  9. res.res mine.def
  10. link $(LFLAGS) winmine rtns util grafix sound pref, winmine.exe /align:16, \
  11. winmine.map, /NOE /NOD libw slibcew, mine.def;
  12. rc res.res winmine.exe
  13. grafix.obj: grafix.c grafix.h main.h rtns.h
  14. winmine.obj: winmine.c main.h rtns.h util.h grafix.h res.h context.h
  15. pref.obj: pref.c pref.h rtns.h res.h main.h grafix.h
  16. rtns.obj: rtns.c rtns.h main.h util.h grafix.h sound.h pref.h
  17. sound.obj: sound.c sound.h pref.h
  18. util.obj: util.c util.h main.h res.h pref.h
  19. res.res: res.rc res.h \
  20. pref.dlg strings.inc menu.inc\
  21. bmp\winmine.ico \
  22. bmp\blocks.bmp bmp\led.bmp bmp\button.bmp \
  23. bmp\blocksbw.bmp bmp\ledbw.bmp bmp\buttonbw.bmp
  24. rc -r res.rc
  25. .c.obj:
  26. cl $(CFLAGS) -DWIN16 -c -AS -G2sw -W3 -Oas -Zpe $*.c