mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
105 lines
8.9 KiB
Makefile
105 lines
8.9 KiB
Makefile
# Project: Pika_devc
|
|
# Makefile created by Dev-C++ 6.7.2
|
|
|
|
CPP = g++.exe -D__DEBUG__
|
|
CC = gcc.exe -D__DEBUG__
|
|
WINDRES = windres.exe
|
|
OBJ = main.o PikaScript/pikascript-api/PikaMain-api.o PikaScript/pikascript-api/pikaScript.o PikaScript/pikascript-api/PikaStdLib_MemChecker-api.o PikaScript/pikascript-api/PikaStdLib_RangeObj-api.o PikaScript/pikascript-api/PikaStdLib_SysObj-api.o PikaScript/pikascript-api/PikaStdLib-api.o PikaScript/pikascript-core/BaseObj.o PikaScript/pikascript-core/dataArg.o PikaScript/pikascript-core/dataArgs.o PikaScript/pikascript-core/dataLink.o PikaScript/pikascript-core/dataLinkNode.o PikaScript/pikascript-core/dataMemory.o PikaScript/pikascript-core/dataQueue.o PikaScript/pikascript-core/dataQueueObj.o PikaScript/pikascript-core/dataStack.o PikaScript/pikascript-core/dataString.o PikaScript/pikascript-core/dataStrs.o PikaScript/pikascript-core/PikaObj.o PikaScript/pikascript-core/PikaParser.o PikaScript/pikascript-core/PikaPlatform.o PikaScript/pikascript-core/PikaVM.o PikaScript/pikascript-core/TinyObj.o PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_MemChecker.o PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_RangeObj.o PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_SysObj.o
|
|
LINKOBJ = main.o PikaScript/pikascript-api/PikaMain-api.o PikaScript/pikascript-api/pikaScript.o PikaScript/pikascript-api/PikaStdLib_MemChecker-api.o PikaScript/pikascript-api/PikaStdLib_RangeObj-api.o PikaScript/pikascript-api/PikaStdLib_SysObj-api.o PikaScript/pikascript-api/PikaStdLib-api.o PikaScript/pikascript-core/BaseObj.o PikaScript/pikascript-core/dataArg.o PikaScript/pikascript-core/dataArgs.o PikaScript/pikascript-core/dataLink.o PikaScript/pikascript-core/dataLinkNode.o PikaScript/pikascript-core/dataMemory.o PikaScript/pikascript-core/dataQueue.o PikaScript/pikascript-core/dataQueueObj.o PikaScript/pikascript-core/dataStack.o PikaScript/pikascript-core/dataString.o PikaScript/pikascript-core/dataStrs.o PikaScript/pikascript-core/PikaObj.o PikaScript/pikascript-core/PikaParser.o PikaScript/pikascript-core/PikaPlatform.o PikaScript/pikascript-core/PikaVM.o PikaScript/pikascript-core/TinyObj.o PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_MemChecker.o PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_RangeObj.o PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_SysObj.o
|
|
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/i686-w64-mingw32/lib" -g3 -static
|
|
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/i686-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib/gcc/i686-w64-mingw32/10.3.0/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib/gcc/i686-w64-mingw32/10.3.0/include-fixed" -I"D:/Users/Ann/Desktop/pika_devc/PikaScript/pikascript-core" -I"D:/Users/Ann/Desktop/pika_devc/PikaScript/pikascript-api"
|
|
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/i686-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib/gcc/i686-w64-mingw32/10.3.0/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib/gcc/i686-w64-mingw32/10.3.0/include-fixed" -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include/c++/10.3.0" -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include/c++/10.3.0/i686-w64-mingw32" -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include/c++/10.3.0/backward" -I"D:/Users/Ann/Desktop/pika_devc/PikaScript/pikascript-core" -I"D:/Users/Ann/Desktop/pika_devc/PikaScript/pikascript-api"
|
|
BIN = Pika_devc.exe
|
|
CXXFLAGS = $(CXXINCS) -Wall -Wextra -g3
|
|
ENCODINGS = -finput-charset=utf-8 -fexec-charset=gbk
|
|
CFLAGS = $(INCS) -Wall -Wextra -g3
|
|
RM = rm.exe -f
|
|
|
|
.PHONY: all all-before all-after clean clean-custom
|
|
|
|
all: all-before $(BIN) all-after
|
|
|
|
clean: clean-custom
|
|
${RM} $(OBJ) $(BIN)
|
|
|
|
$(BIN): $(OBJ)
|
|
$(CC) $(LINKOBJ) -o "$(BIN)" $(LIBS)
|
|
|
|
main.o: main.c
|
|
$(CC) -c main.c -o main.o $(CFLAGS)
|
|
|
|
PikaScript/pikascript-api/PikaMain-api.o: PikaScript/pikascript-api/PikaMain-api.c
|
|
$(CC) -c PikaScript/pikascript-api/PikaMain-api.c -o PikaScript/pikascript-api/PikaMain-api.o $(CFLAGS)
|
|
|
|
PikaScript/pikascript-api/pikaScript.o: PikaScript/pikascript-api/pikaScript.c
|
|
$(CC) -c PikaScript/pikascript-api/pikaScript.c -o PikaScript/pikascript-api/pikaScript.o $(CFLAGS)
|
|
|
|
PikaScript/pikascript-api/PikaStdLib_MemChecker-api.o: PikaScript/pikascript-api/PikaStdLib_MemChecker-api.c
|
|
$(CC) -c PikaScript/pikascript-api/PikaStdLib_MemChecker-api.c -o PikaScript/pikascript-api/PikaStdLib_MemChecker-api.o $(CFLAGS)
|
|
|
|
PikaScript/pikascript-api/PikaStdLib_RangeObj-api.o: PikaScript/pikascript-api/PikaStdLib_RangeObj-api.c
|
|
$(CC) -c PikaScript/pikascript-api/PikaStdLib_RangeObj-api.c -o PikaScript/pikascript-api/PikaStdLib_RangeObj-api.o $(CFLAGS)
|
|
|
|
PikaScript/pikascript-api/PikaStdLib_SysObj-api.o: PikaScript/pikascript-api/PikaStdLib_SysObj-api.c
|
|
$(CC) -c PikaScript/pikascript-api/PikaStdLib_SysObj-api.c -o PikaScript/pikascript-api/PikaStdLib_SysObj-api.o $(CFLAGS)
|
|
|
|
PikaScript/pikascript-api/PikaStdLib-api.o: PikaScript/pikascript-api/PikaStdLib-api.c
|
|
$(CC) -c PikaScript/pikascript-api/PikaStdLib-api.c -o PikaScript/pikascript-api/PikaStdLib-api.o $(CFLAGS)
|
|
|
|
PikaScript/pikascript-core/BaseObj.o: PikaScript/pikascript-core/BaseObj.c
|
|
$(CC) -c PikaScript/pikascript-core/BaseObj.c -o PikaScript/pikascript-core/BaseObj.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/dataArg.o: PikaScript/pikascript-core/dataArg.c
|
|
$(CC) -c PikaScript/pikascript-core/dataArg.c -o PikaScript/pikascript-core/dataArg.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/dataArgs.o: PikaScript/pikascript-core/dataArgs.c
|
|
$(CC) -c PikaScript/pikascript-core/dataArgs.c -o PikaScript/pikascript-core/dataArgs.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/dataLink.o: PikaScript/pikascript-core/dataLink.c
|
|
$(CC) -c PikaScript/pikascript-core/dataLink.c -o PikaScript/pikascript-core/dataLink.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/dataLinkNode.o: PikaScript/pikascript-core/dataLinkNode.c
|
|
$(CC) -c PikaScript/pikascript-core/dataLinkNode.c -o PikaScript/pikascript-core/dataLinkNode.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/dataMemory.o: PikaScript/pikascript-core/dataMemory.c
|
|
$(CC) -c PikaScript/pikascript-core/dataMemory.c -o PikaScript/pikascript-core/dataMemory.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/dataQueue.o: PikaScript/pikascript-core/dataQueue.c
|
|
$(CC) -c PikaScript/pikascript-core/dataQueue.c -o PikaScript/pikascript-core/dataQueue.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/dataQueueObj.o: PikaScript/pikascript-core/dataQueueObj.c
|
|
$(CC) -c PikaScript/pikascript-core/dataQueueObj.c -o PikaScript/pikascript-core/dataQueueObj.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/dataStack.o: PikaScript/pikascript-core/dataStack.c
|
|
$(CC) -c PikaScript/pikascript-core/dataStack.c -o PikaScript/pikascript-core/dataStack.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/dataString.o: PikaScript/pikascript-core/dataString.c
|
|
$(CC) -c PikaScript/pikascript-core/dataString.c -o PikaScript/pikascript-core/dataString.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/dataStrs.o: PikaScript/pikascript-core/dataStrs.c
|
|
$(CC) -c PikaScript/pikascript-core/dataStrs.c -o PikaScript/pikascript-core/dataStrs.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/PikaObj.o: PikaScript/pikascript-core/PikaObj.c
|
|
$(CC) -c PikaScript/pikascript-core/PikaObj.c -o PikaScript/pikascript-core/PikaObj.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/PikaParser.o: PikaScript/pikascript-core/PikaParser.c
|
|
$(CC) -c PikaScript/pikascript-core/PikaParser.c -o PikaScript/pikascript-core/PikaParser.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/PikaPlatform.o: PikaScript/pikascript-core/PikaPlatform.c
|
|
$(CC) -c PikaScript/pikascript-core/PikaPlatform.c -o PikaScript/pikascript-core/PikaPlatform.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/PikaVM.o: PikaScript/pikascript-core/PikaVM.c
|
|
$(CC) -c PikaScript/pikascript-core/PikaVM.c -o PikaScript/pikascript-core/PikaVM.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-core/TinyObj.o: PikaScript/pikascript-core/TinyObj.c
|
|
$(CC) -c PikaScript/pikascript-core/TinyObj.c -o PikaScript/pikascript-core/TinyObj.o $(CFLAGS) $(ENCODINGS)
|
|
|
|
PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_MemChecker.o: PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_MemChecker.c
|
|
$(CC) -c PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_MemChecker.c -o PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_MemChecker.o $(CFLAGS)
|
|
|
|
PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_RangeObj.o: PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_RangeObj.c
|
|
$(CC) -c PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_RangeObj.c -o PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_RangeObj.o $(CFLAGS)
|
|
|
|
PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_SysObj.o: PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_SysObj.c
|
|
$(CC) -c PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_SysObj.c -o PikaScript/pikascript-lib/PikaStdLib/PikaStdLib_SysObj.o $(CFLAGS)
|