1 2OBJ = main.obj data.obj seg000.obj seg001.obj seg002.obj seg003.obj seg004.obj seg005.obj seg006.obj seg007.obj seg008.obj seg009.obj seqtbl.obj replay.obj options.obj lighting.obj screenshot.obj menu.obj midi.obj opl3.obj stb_vorbis.c 3 4sdl = "..\SDL2-2.0.4" 5LIBS = $(sdl)\lib\x86\SDL2main.lib $(sdl)\lib\x86\SDL2.lib $(sdl)\lib\x86\SDL2_image.lib 6cc = cl /c 7link = link /subsystem:windows 8 9!IF "$(DEBUG)" == "yes" 10cflags = $(cflags) /MDd /Od 11!ELSE 12cflags = $(cflags) /MD /O2 13!ENDIF 14 15cflags = $(cflags) /nologo /fp:fast /GR- /wd4048 16 17all: prince.exe 18 19.c.obj: 20 $(cc) $(cdebug) $(cflags) $(cvars) /I. /I"$(sdl)\include" $< 21 22prince.exe: $(OBJ) 23 $(link) $(ldebug) $(conflags) -out:..\prince.exe $(conlibs) $(OBJ) $(LIBS) 24 25clean: 26 del *.obj prince.exe 27