Modifications over the makefile

This commit is contained in:
Mylloon 2023-05-03 12:57:22 +02:00
parent d2e8bd052c
commit c3cc62189b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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