all: HOTSpots.EXE

APP_compile = -c -AM -G2sw -Zpie -W3 -Od $(DEFINES)
APP_link = /CO /NOD /NOE
APP_objs = mainwnd init about

mainwnd.obj: mainwnd.c mainwnd.h Globals.h
     cl $(APP_compile) mainwnd.c
init.obj: init.c init.h Globals.h
     cl $(APP_compile) init.c
about.obj: about.c Globals.h
     cl $(APP_compile) about.c

HOTspots.res: HOTspots.rc Globals.h
     rc -r $(DEFINES) HOTspots.rc

HOTspots.exe: mainwnd.obj init.obj about.obj HOTspots.def HOTspots.res
     link $(APP_link) $(APP_objs), HOTspots, HOTspots/map/li, libw mlibcew, HOTspots.def
     rc HOTspots.res


clean:
    -del *.obj
    -del *.res
    -del *.map
    -del *.sym
