einki
18-10-2003, 12:18
Hi
Ich habe folgendes Makfile
tar all:
cc -c functions.cpp
cc -c main.cpp
cc -o exe functions.o main.o
tar clean:
rm ./*.o
Aber wenn cih es kompiliere gibt er aus
cc -c functions.cpp
In File Include GL/gl.h
In File include GL/glx.h
cc -c main.cpp
In File Include main.h
warning: #pragma once is obsolet
make *** [all] Error1
Wenn ich haendisch Eingebe cc -c main.cpp dann gibt er zwar keine Fehlermeldung aus aber .o File erstellt er auch keines.
Was mach ich falsch
Ich habe folgendes Makfile
tar all:
cc -c functions.cpp
cc -c main.cpp
cc -o exe functions.o main.o
tar clean:
rm ./*.o
Aber wenn cih es kompiliere gibt er aus
cc -c functions.cpp
In File Include GL/gl.h
In File include GL/glx.h
cc -c main.cpp
In File Include main.h
warning: #pragma once is obsolet
make *** [all] Error1
Wenn ich haendisch Eingebe cc -c main.cpp dann gibt er zwar keine Fehlermeldung aus aber .o File erstellt er auch keines.
Was mach ich falsch