|
Quellcode
|
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
|
# Project: Project1
# Makefile created by Dev-C++ 4.9.9.2
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = Untitled1.o $(RES)
LINKOBJ = Untitled1.o $(RES)
LIBS = -L"lib" -lalleg -mwindows liballeg.a
INCS = -I"include" -I"D:/Parkour/DevCpp/include"
CXXINCS = -I"include" -I"D:/Parkour/DevCpp/bin/MinGW/include"
BIN = Project1.exe
CXXFLAGS = $(CXXINCS)
CFLAGS = $(INCS)
RM = rm -f
.PHONY: all clean
all: all-before Project1.exe all-after
clean:
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "Project1.exe" $(LIBS)
Untitled1.o: Untitled1.cpp
$(CPP) -c Untitled1.cpp -o Untitled1.o $(CXXFLAGS)
|
DAS ist der code vom makefile. nur kommt mir vor dass da was fehlt (all-before und all-after und clean-custom sind nirgendwo definiert...).
deswegen meine frage ob das wirklich alles ist was in der datei steht...
|
Quellcode
|
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
|
# Project: Project1
# Makefile created by Dev-C++ 4.9.9.2
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = Untitled1.o $(RES)
LINKOBJ = Untitled1.o $(RES)
LIBS = -L"lib" -lalleg -mwindows liballeg.a
INCS = -I"include" -I"D:/Parkour/DevCpp/include"
CXXINCS = -I"include" -I"D:/Parkour/DevCpp/bin/MinGW/include"
BIN = Project1.exe
CXXFLAGS = $(CXXINCS)
CFLAGS = $(INCS)
RM = rm -f
.PHONY: all clean
all: $(BIN)
clean:
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "Project1.exe" $(LIBS)
Untitled1.o: Untitled1.cpp
$(CPP) -c Untitled1.cpp -o Untitled1.o $(CXXFLAGS)
|
probier mal obs so geht...