##
## Makefile for SDL_Test in /u/a1/caput_r/rendu/
##
## Made by remi caput
## Login   <caput_r@epita.fr>
##
## Started on  Sat Oct  1 03:43:42 2005 remi caput
## Last update Sat Nov 12 16:36:13 2005 remi caput
##

CC				= ..\..\bin\gcc.exe
CCFLAGS			= -W -Wall -Dmain=SDL_main
LDFLAGS			= -L"E:/Apps/Dev-Cpp/lib" -lmingw32 -mwindows SDL.dll -enable-stdcall-fixup
EXEC			= test.exe
DEL				= ..\..\bin\rm.exe -f
SRC				= main.c pencil.c volume.c
OBJ				= $(SRC:.c=.o)

temp: distclean all

all: $(EXEC)

clean:
	$(DEL) -f *~
	$(DEL) -f *.o

depends:
	$(DEL) -f makefile.dep
	$(CC) -MM $(SRC) >> makefile.dep

distclean: clean
	$(DEL) -f $(EXEC)

$(EXEC): $(OBJ)
	$(CC) $(CCFLAGS) $(LDFLAGS) -o $(EXEC) $(OBJ)

include makefile.dep

.c.o:
	$(CC) $(CCFLAGS) -c $<
