From d6c2ad8411aa17e70acd3e318b413780f8d841f4 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 3 May 2023 13:02:43 +0200 Subject: [PATCH] spaces --- Makefile | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/Makefile b/Makefile index 525584a..82eb8bf 100644 --- a/Makefile +++ b/Makefile @@ -5,33 +5,33 @@ # Modified : Anri KENNEL (anri.kennel@etud.univ-paris8.fr) - 03/05/2023 # Définition des commandes utilisées -CC = gcc -ECHO = echo -RM = rm -f -TAR = tar -ZIP = zip +CC = gcc +ECHO = echo +RM = rm -f +TAR = tar +ZIP = zip MKDIR = mkdir CHMOD = chmod -CP = rsync -R +CP = rsync -R # Déclaration des options du compilateur -CFLAGS = -Wall -O3 +CFLAGS = -Wall -O3 CPPFLAGS = -I. -LDFLAGS = -lm +LDFLAGS = -lm # Définition des fichiers et dossiers -PACKNAME = api8_2023 -PROGNAME = demo -VERSION = anri -distdir = $(PACKNAME)_$(PROGNAME)-$(VERSION) -HEADERS = $(wildcard includes/*.h) -SOURCES = main.c $(wildcard src/*.c) -MSVCSRC = $(patsubst %,,$(SOURCES)) -OBJ = $(SOURCES:.c=.o) -DOXYFILE = documentation/Doxyfile -VSCFILES = $(PROGNAME).vcxproj $(PROGNAME).sln +PACKNAME = api8_2023 +PROGNAME = demo +VERSION = anri +distdir = $(PACKNAME)_$(PROGNAME)-$(VERSION) +HEADERS = $(wildcard includes/*.h) +SOURCES = main.c $(wildcard src/*.c) +MSVCSRC = $(patsubst %,,$(SOURCES)) +OBJ = $(SOURCES:.c=.o) +DOXYFILE = documentation/Doxyfile +VSCFILES = $(PROGNAME).vcxproj $(PROGNAME).sln EXTRAFILES = COPYING $(wildcard shaders/*.?s images/*.png) $(VSCFILES) -DISTFILES = $(SOURCES) Makefile $(HEADERS) $(DOXYFILE) $(EXTRAFILES) +DISTFILES = $(SOURCES) Makefile $(HEADERS) $(DOXYFILE) $(EXTRAFILES) # Traitements automatiques pour ajout de chemins et options (ne pas modifier) ifneq (,$(shell ls -d /usr/local/include 2>/dev/null | tail -n 1)) @@ -48,10 +48,10 @@ ifneq (,$(shell ls -d $(HOME)/local/lib 2>/dev/null | tail -n 1)) endif ifeq ($(shell uname),Darwin) MACOSX_DEPLOYMENT_TARGET = 11.0 - CFLAGS += -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET) - LDFLAGS += -framework OpenGL -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET) + CFLAGS += -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET) + LDFLAGS += -framework OpenGL -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET) else - LDFLAGS += -lGL + LDFLAGS += -lGL endif CPPFLAGS += $(shell sdl2-config --cflags)