Bonsoir,
Voilà j'essaie de compiler une source via un makefile visiblement conçu pour un compilo différent du mien (cygwin) et comme j'ai installer la bête tout juste aujourd'hui forcément ça rame à pleins poumons
Voilou le makefile à problem :
...ça me sort "Makefile:2: syntax error"
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 TARGETS=test.exe OBJS=testlib.obj testkey.obj testtab.obj testct.obj base.obj test.obj gets.obj all: $(TARGETS) test.exe: $(OBJS) link /nologo /OUT:test.exe $(OBJS) test.obj: test.c testlib.h util.h gets.h version.h cl /nologo /DWINDOWS -c test.c testlib.obj: testlib.c testlib.h test.h cl /nologo /DWINDOWS -c testlib.c testkey.obj: testkey.c test.h testopt.h cl /nologo /DWINDOWS -c testkey.c testtab.obj: testtab.c test.h testopt.h cl /nologo /DWINDOWS -c testtab.c testct.obj: testct.c test.h testopt.h cl /nologo /DWINDOWS -c testct.c base.obj: base.c util.h cl /nologo /DWINDOWS -c base.c gets.obj: gets.c gets.h cl /nologo /DWINDOWS -c gets.c clean: del *.obj
Comment fait-on pour compiler ces sources et avec quelle commande ?
merci pour une petite aide !
Partager