43 lines
		
	
	
		
			796 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			796 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| CC=gcc
 | |
| CFLAGS=-std=c99 -Werror -Wall -Wextra -pedantic -Wshadow -Wno-missing-field-initializers -Wstrict-overflow -lm -lcurl
 | |
| DEPFLAGS=-MMD -MF
 | |
| OUTPUT=../bin/Release/GINPA
 | |
| OBJ=../obj/Release
 | |
| DEP=Dep
 | |
| 
 | |
| ifdef DEBUG
 | |
| 	CFLAGS+=-g
 | |
| 	LDFLAGS+=-g
 | |
| 	OUTPUT=../bin/Debug/GINPA
 | |
| 	OBJ=../obj/Debug
 | |
| endif
 | |
| 
 | |
| .SILENT:
 | |
| 
 | |
| all: $(OBJ)/controleur.o $(OBJ)/controleAffichage.o $(OBJ)/waiting.o $(OBJ)/carte.o $(OBJ)/menu.o $(OBJ)/controleSuppression.o $(OBJ)/tinyFileDialogsCalls.o
 | |
| 
 | |
| $(OBJ)/%.o: %.c 
 | |
| 	$(CC) -c -o $@ $< $(CFLAGS) $(GFLAGS) $(DEPFLAGS) $(DEP)/$(basename $<).d
 | |
| 
 | |
| -include $(DEP)/*.d
 | |
| 
 | |
| .PHONY: debug clean mrproper doc doc-config clean-doc
 | |
| 
 | |
| debug:
 | |
| 	make DEBUG=1
 | |
| 
 | |
| doc:
 | |
| 	make doc -C ..
 | |
| 
 | |
| doc-config:
 | |
| 	make doc-config -C ..
 | |
| 
 | |
| clean-doc:
 | |
| 	make clean-doc -C ..
 | |
| 
 | |
| clean:
 | |
| 	make clean -C ..
 | |
| 
 | |
| mrproper:
 | |
| 	make mrproper -C ..
 | 
