46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
|
# Project: Hallo
|
||
|
# Makefile created by Dev-C++ 4.9.9.2
|
||
|
|
||
|
CPP = g++.exe
|
||
|
CC = gcc.exe
|
||
|
WINDRES = windres.exe
|
||
|
RES =
|
||
|
OBJ = main.o room.o monsters.o secrets.o exits.o items.o $(RES)
|
||
|
LINKOBJ = main.o room.o monsters.o secrets.o exits.o items.o $(RES)
|
||
|
LIBS = -L"C:/Dev-Cpp/lib"
|
||
|
INCS = -I"C:/Dev-Cpp/include"
|
||
|
CXXINCS = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
|
||
|
BIN = Hallo.exe
|
||
|
CXXFLAGS = $(CXXINCS)
|
||
|
CFLAGS = $(INCS)
|
||
|
RM = rm -f
|
||
|
|
||
|
.PHONY: all all-before all-after clean clean-custom
|
||
|
|
||
|
all: all-before Hallo.exe all-after
|
||
|
|
||
|
|
||
|
clean: clean-custom
|
||
|
${RM} $(OBJ) $(BIN)
|
||
|
|
||
|
$(BIN): $(OBJ)
|
||
|
$(CPP) $(LINKOBJ) -o "Hallo.exe" $(LIBS)
|
||
|
|
||
|
main.o: main.cpp
|
||
|
$(CPP) -c main.cpp -o main.o $(CXXFLAGS)
|
||
|
|
||
|
room.o: room.cpp
|
||
|
$(CPP) -c room.cpp -o room.o $(CXXFLAGS)
|
||
|
|
||
|
monsters.o: monsters.cpp
|
||
|
$(CPP) -c monsters.cpp -o monsters.o $(CXXFLAGS)
|
||
|
|
||
|
secrets.o: secrets.cpp
|
||
|
$(CPP) -c secrets.cpp -o secrets.o $(CXXFLAGS)
|
||
|
|
||
|
exits.o: exits.cpp
|
||
|
$(CPP) -c exits.cpp -o exits.o $(CXXFLAGS)
|
||
|
|
||
|
items.o: items.cpp
|
||
|
$(CPP) -c items.cpp -o items.o $(CXXFLAGS)
|