Fixed linux build with new makefile
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@136 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
e81b943732
commit
78cfc787ad
@ -1,7 +1,7 @@
|
||||
main.o: main.c const.h struct.h global.h loadsave.h graph.h divers.h \
|
||||
init.h boutons.h moteur.h pages.h files.h sdlscreen.h erreurs.h \
|
||||
readini.h saveini.h
|
||||
init.o: init.c const.h struct.h global.h loadsave.h modesvdo.h graph.h \
|
||||
init.o: init.c const.h struct.h global.h loadsave.h graph.h \
|
||||
boutons.h palette.h aide.h operatio.h divers.h erreurs.h
|
||||
graph.o: graph.c sdlscreen.h struct.h const.h graph.h divers.h moteur.h \
|
||||
boutons.h pages.h global.h loadsave.h erreurs.h
|
||||
|
||||
5
linux.h
5
linux.h
@ -1,3 +1,6 @@
|
||||
#pragma once
|
||||
#ifdef __linux__
|
||||
|
||||
void _splitpath(char* Buffer, char* Chemin, char* Nom_Fichier);
|
||||
/* Sépare dans la chaîne passée dans Buffer le chemin d'accès du nom de fichier */
|
||||
|
||||
@ -10,3 +13,5 @@ int filelength(int);
|
||||
|
||||
void itoa(int source,char* dest, int longueur);
|
||||
/* Integer TO Ascii */
|
||||
|
||||
#endif
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
#include "op_c.h"
|
||||
#include "boutons.h"
|
||||
#include "erreurs.h"
|
||||
#include "linux.h"
|
||||
|
||||
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
|
||||
#define endian_magic(x) (x)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user