Hello world

Béotien en edit/création de makefile j'ai réussi a édité certain paramètre mais ce séche sur d'autres, le makefile

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 
#
# update this variable to wherever you installed the OpenXDK libraries
#
PREFIX=/home/magnum/nxdk
 
CC = i686-w64-mingw32-gcc
CXBE = /home/magnum/nxdk/tools/cxbe
#SDLFLAGS = -DENABLE_XBOX -DDISABLE_CDROM 
 
CC_FLAGS = -m32 -march=i386 -O0 -g -shared -std=gnu99 -ffreestanding -nostdlib -fno-builtin -fno-exceptions # $(SDLFLAGS)
INCLUDE  = -I$(PREFIX)/lib #-I$(PREFIX)/include/SDL
 
CLINK = -nostdlib -m32 -march=i386 -O0 -g 
ALIGN = -Wl,--file-alignment,0x20 -Wl,--section-alignment,0x20 
SHARED = -shared
ENTRYPOINT = -Wl,--entry,_WinMainCRTStartup 
STRIP = -Wl,--strip-all 
LD_FLAGS = -m32 -march=i386 -O0 $(CLINK) $(ALIGN) $(SHARED) $(ENTRYPOINT) $(STRIP)
LD_DIRS = -L$(PREFIX)/lib -L$(PREFIX)/lib 
LD_LIBS  = -L$(PREFIX)/lib - hal - usb - c - hal - c - xboxkrnl #-lSDL 
 
all: launch-chihiro.xbe
 
transfer: launch-chihiro.xbe
	wput -u ftp://xbox:xbox@192.168.177.80:21/E/Games/VC3/default.xbe launch-chihiro.xbe
 
log:
	@echo "---"
	@wget -q -O - ftp://xbox:xbox@192.168.177.80:21/E/chihiro/log.txt
	@echo "---"
 
.c.o:
	$(CC) -c $< $(CC_FLAGS) $(INCLUDE)
 
launch-chihiro.exe: launch-chihiro.o 
	$(CC) -o $@ $< $(LD_LIBS) $(LD_FLAGS)
 
launch-chihiro.xbe: launch-chihiro.exe
	$(CXBE) -TITLE:"Chihiro-Launcher" -DUMPINFO:"cxbe.txt" -OUT:"$@" $< > /dev/null
 
clean: 
	rm -f *.o *.exe *.dll *.xbe *.cxbe cxbe.txt
le message d'erreur:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
~/Chihiro Launcher Original code (backup)/Chihiro Launcher 7$ make
i686-w64-mingw32-gcc -o launch-chihiro.exe launch-chihiro.o -L/home/magnum/nxdk/lib - hal - usb - c - hal - c - xboxkrnl  -m32 -march=i386 -O0 -nostdlib -m32 -march=i386 -O0 -g  -Wl,--file-alignment,0x20 -Wl,--section-alignment,0x20  -shared -Wl,--entry,_WinMainCRTStartup  -Wl,--strip-all 
i686-w64-mingw32-gcc: error: hal: Aucun fichier ou dossier de ce type
i686-w64-mingw32-gcc: error: usb: Aucun fichier ou dossier de ce type
i686-w64-mingw32-gcc: error: c: Aucun fichier ou dossier de ce type
i686-w64-mingw32-gcc: error: hal: Aucun fichier ou dossier de ce type
i686-w64-mingw32-gcc: error: c: Aucun fichier ou dossier de ce type
i686-w64-mingw32-gcc: error: xboxkrnl: Aucun fichier ou dossier de ce type
Makefile:36*: la recette pour la cible «*launch-chihiro.exe*» a échouée
make: *** [launch-chihiro.exe] Erreur 1
le path ou se trouve les fichier que j'essaye de pointé ce trouve :

/home/magnum/nxdk

Auriez vous une idée SVP?

Merci