
!include <win32.mak>

## Uncomment the following lines if CG_INC_PATH and CG_LIB_PATH are not
## in your environment.
#CG_DIR = /Program Files/NVIDIA Corporation/Cg
#CG_INC_PATH = $(CG_DIR)/include
#CG_LIB_PATH = $(CG_DIR)/lib

CFLAGS = /I . /I "$(CG_INC_PATH)" /W3
LIBS = /libpath:"$(CG_LIB_PATH)" cgGL.lib cg.lib

SRCS = cg_bumpdemo.c
HDRS = brick_image.h normcm_image.h

OBJS = $(SRCS:.c=.obj)

cg_bumpdemo.exe : $(OBJS)
	echo $(OBJS)
	$(link) -out:$@ $** $(LIBS)

cg_bumpdemo.c : brick_image.h normcm_image.h

clean :
	-del cg_bumpdemo.exe $(OBJS)
