Modifications over the makefile
This commit is contained in:
parent
d2e8bd052c
commit
c3cc62189b
1 changed files with 8 additions and 7 deletions
7
Makefile
7
Makefile
|
@ -2,6 +2,7 @@
|
||||||
# Auteur : Farès BELHADJ
|
# Auteur : Farès BELHADJ
|
||||||
# Email : amsi@up8.edu
|
# Email : amsi@up8.edu
|
||||||
# Date : 28/04/2020
|
# Date : 28/04/2020
|
||||||
|
# Modified : Anri KENNEL (anri.kennel@etud.univ-paris8.fr) - 03/05/2023
|
||||||
|
|
||||||
# Définition des commandes utilisées
|
# Définition des commandes utilisées
|
||||||
CC = gcc
|
CC = gcc
|
||||||
|
@ -21,7 +22,7 @@ LDFLAGS = -lm
|
||||||
# Définition des fichiers et dossiers
|
# Définition des fichiers et dossiers
|
||||||
PACKNAME = api8_2023
|
PACKNAME = api8_2023
|
||||||
PROGNAME = demo
|
PROGNAME = demo
|
||||||
VERSION = 0.1
|
VERSION = anri
|
||||||
distdir = $(PACKNAME)_$(PROGNAME)-$(VERSION)
|
distdir = $(PACKNAME)_$(PROGNAME)-$(VERSION)
|
||||||
HEADERS = $(wildcard includes/*.h)
|
HEADERS = $(wildcard includes/*.h)
|
||||||
SOURCES = main.c $(wildcard src/*.c)
|
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)/" > $@
|
@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:
|
clean:
|
||||||
@$(RM) -r $(PROGNAME) $(OBJ) *~ $(distdir).tgz $(distdir).zip gmon.out \
|
@$(RM) -r $(PROGNAME) $(OBJ) *~ $(distdir).tgz $(distdir).zip $(distdir)/ \
|
||||||
core.* documentation/*~ shaders/*~ documentation/html
|
gmon.out core.* documentation/*~ shaders/*~ documentation/html
|
||||||
|
|
Reference in a new issue