moves .c in src folder and .h in includes folder
This commit is contained in:
parent
1123b1a6ca
commit
2d97b7a304
4 changed files with 4 additions and 4 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "animations.h"
|
#include "../includes/animations.h"
|
||||||
|
|
||||||
void initialisationAnimation(void) {
|
void initialisationAnimation(void) {
|
||||||
/* ... */
|
/* ... */
|
2
window.c
2
window.c
|
@ -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};
|
||||||
|
|
Reference in a new issue