
cmake_minimum_required(VERSION 2.6)

project(projet_3eti)


file(
GLOB
source_files
*.c
*.h
)

SET(CMAKE_BUILD_TYPE Debug)
SET(CMAKE_C_FLAGS "-Wall -Wextra -Wformat -Wfloat-equal -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wredundant-decls -Winit-self -Wswitch-default -Wswitch-enum -Wundef -Wlogical-op -Winline -D_REENTRANT -fPIC" )

add_executable(	
   projet_3eti	
   ${source_files}
   )	


