moves .c in src folder and .h in includes folder

This commit is contained in:
Mylloon 2022-05-15 15:16:27 +02:00
parent 1123b1a6ca
commit 2d97b7a304
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 4 additions and 4 deletions

View file

@ -20,8 +20,8 @@ PACKNAME = sc_00_07
PROGNAME = demo PROGNAME = demo
VERSION = 1.0 VERSION = 1.0
distdir = $(PACKNAME)_$(PROGNAME)-$(VERSION) distdir = $(PACKNAME)_$(PROGNAME)-$(VERSION)
HEADERS = animations.h HEADERS = $(wildcard includes/*.h)
SOURCES = window.c animations.c SOURCES = window.c $(wildcard src/*.c)
MSVCSRC = $(patsubst %,<ClCompile Include=\"%\\\" \\/>,$(SOURCES)) MSVCSRC = $(patsubst %,<ClCompile Include=\"%\\\" \\/>,$(SOURCES))
OBJ = $(SOURCES:.c=.o) OBJ = $(SOURCES:.c=.o)
DOXYFILE = documentation/Doxyfile DOXYFILE = documentation/Doxyfile

View file

@ -1,4 +1,4 @@
#include "animations.h" #include "../includes/animations.h"
void initialisationAnimation(void) { void initialisationAnimation(void) {
/* ... */ /* ... */

View file

@ -1,6 +1,6 @@
#include <GL4D/gl4duw_SDL2.h> #include <GL4D/gl4duw_SDL2.h>
#include "animations.h" #include "includes/animations.h"
// Dimensions initiales de la fenêtre // Dimensions initiales de la fenêtre
static int dimensions[] = {1280, 720}; static int dimensions[] = {1280, 720};