Pb de makefile avec borland c++ compiler
Fermé
Seb
-
30 janv. 2003 à 23:32
zigwen Messages postés 24 Date d'inscription mercredi 6 juin 2001 Statut Membre Dernière intervention 29 août 2006 - 31 janv. 2003 à 15:11
zigwen Messages postés 24 Date d'inscription mercredi 6 juin 2001 Statut Membre Dernière intervention 29 août 2006 - 31 janv. 2003 à 15:11
A voir également:
- Pb de makefile avec borland c++ compiler
- Codeblocks avec compilateur - Télécharger - Langages
- Makefile séparateur manquant ✓ - Forum Programmation
- Compiler pdf - Guide
- Borland delphi 7 - Télécharger - Langages
- Makefile missing separator - Forum calculatrices
2 réponses
zigwen
Messages postés
24
Date d'inscription
mercredi 6 juin 2001
Statut
Membre
Dernière intervention
29 août 2006
31 janv. 2003 à 11:58
31 janv. 2003 à 11:58
Hello,
de l'aide ici : http://bdn.borland.com/article/0,1410,27343,00.html
@+.
de l'aide ici : http://bdn.borland.com/article/0,1410,27343,00.html
@+.
zigwen
Messages postés
24
Date d'inscription
mercredi 6 juin 2001
Statut
Membre
Dernière intervention
29 août 2006
31 janv. 2003 à 15:11
31 janv. 2003 à 15:11
Rebonjour,
ton appli est bien une appli windows et non pas une appli "console" ?
J'ai pas bokou plus d'idée que Google sinon ... désolé.
ton appli est bien une appli windows et non pas une appli "console" ?
J'ai pas bokou plus d'idée que Google sinon ... désolé.
31 janv. 2003 à 14:25
Seulement, j'ai mis cette option dans mon makefile.
Ligne de commande , ça marche :
bcc32 -tW -c -I"c:\apps\Bcc55\include" -L"c:\apps\Bcc55\lib" hellowin
ilink32 -aa -L"c:\apps\Bcc55\lib" c0w32 hellowin.obj,hellowin,,import32 cw32,,
Makefile, cela ne marche pas:
BCB = c:\apps\bcc55
PROG = hellowin
INCLUDEPATH = "$(BCB)\include"
LIBPATH = "$(BCB)\lib"
# -------------------------------------------------------------------------
CFLAGS = -tW -c
LFLAGS = -aa
# -------------------------------------------------------------------------
ALLOBJ = c0x32.obj
ALLLIB = import32.lib cw32.lib
# -------------------------------------------------------------------------
BCC32 = $(BCB)\bin\bcc32
LINKER = $(BCB)\bin\ilink32
#--------------------------------------------------------------------------
ALL:
$(LINKER) $(LFLAGS) -L$(LIBPATH) $(PROG).obj $(ALLOBJ),$(PROG),,$(ALLLIB),,
# -------------------------------------------------------------------------
$(PROG).obj:
$(BCC32) $(CFLAGS) -I$(INCLUDEPATH) -L$(LIBPATH) $(PROG)