From c3cc62189b6e897cc5dcba35c7a1eb6c00c95635 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 3 May 2023 12:57:22 +0200 Subject: [PATCH] Modifications over the makefile --- Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 8f0496d..9bf403d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ -# Makefile -# Auteur : Farès BELHADJ -# Email : amsi@up8.edu -# Date : 28/04/2020 +# Makefile +# Auteur : Farès BELHADJ +# Email : amsi@up8.edu +# Date : 28/04/2020 +# Modified : Anri KENNEL (anri.kennel@etud.univ-paris8.fr) - 03/05/2023 # Définition des commandes utilisées CC = gcc @@ -21,7 +22,7 @@ LDFLAGS = -lm # Définition des fichiers et dossiers PACKNAME = api8_2023 PROGNAME = demo -VERSION = 0.1 +VERSION = anri distdir = $(PACKNAME)_$(PROGNAME)-$(VERSION) HEADERS = $(wildcard includes/*.h) SOURCES = main.c $(wildcard src/*.c) @@ -99,5 +100,5 @@ $(VSCFILES): @cat ../../Windows/templates/gl4dSample$(suffix $@) | sed -e "s/INSERT_PROJECT_NAME/$(PROGNAME)/g" | sed -e "s/INSERT_TARGET_NAME/$(PROGNAME)/" | sed -e "s/INSERT_SOURCE_FILES/$(MSVCSRC)/" > $@ clean: - @$(RM) -r $(PROGNAME) $(OBJ) *~ $(distdir).tgz $(distdir).zip gmon.out \ - core.* documentation/*~ shaders/*~ documentation/html + @$(RM) -r $(PROGNAME) $(OBJ) *~ $(distdir).tgz $(distdir).zip $(distdir)/ \ + gmon.out core.* documentation/*~ shaders/*~ documentation/html