mirror of
https://github.com/brain-hackers/brainlilo
synced 2024-12-21 19:50:05 +09:00
remove unneeded target
This commit is contained in:
parent
5981ed804b
commit
4515664505
@ -128,27 +128,8 @@ static void loadDriverIfNeeded(){
|
||||
wchar_t driverPath[1024];
|
||||
|
||||
getThisDllDirectoryPath(driverPath);
|
||||
wcscat(driverPath, L"\\MyJITDebugger.exe");
|
||||
|
||||
TCHAR newDriverPath[128];
|
||||
wcscpy(newDriverPath,L"\\Windows\\MyJITDebugger.exe");
|
||||
|
||||
{
|
||||
wchar_t buf[1024];
|
||||
swprintf(buf, L"BrainLILO: copying \"%ls\" to \"%ls\"",
|
||||
driverPath, newDriverPath);
|
||||
OutputDebugString(buf);
|
||||
}
|
||||
|
||||
if(!CopyFile(driverPath,newDriverPath, FALSE)){
|
||||
|
||||
|
||||
if(GetFileAttributes(newDriverPath)==(DWORD)-1){
|
||||
OutputDebugString(L"BrainLILO: failed to copy");
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
getThisDllDirectoryPath(driverPath);
|
||||
wcscat(driverPath, L"\\BrainLILODrv.dll");
|
||||
|
5
Makefile
5
Makefile
@ -9,7 +9,7 @@ AS=$(PREFIX)/bin/arm-mingw32ce-as
|
||||
NM=$(PREFIX)/bin/arm-mingw32ce-nm
|
||||
WINDRES=$(PREFIX)/bin/arm-mingw32ce-windres
|
||||
|
||||
OUTPUT=BrainLILO.dll BrainLILODrv.dll BrainLILO.exe MyJITDebugger.exe
|
||||
OUTPUT=BrainLILO.dll BrainLILODrv.dll BrainLILO.exe
|
||||
|
||||
CXXFLAGS= -DEV_PLATFORM_WIN32 -DUNICODE -D_UNICODE -DEV_UNSAFE_SWPRINTF -mwin32 \
|
||||
-O0 -mcpu=arm926ej-s -D_WIN32_WCE=0x600 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 \
|
||||
@ -46,6 +46,3 @@ BrainLILO.exe: bootloader.cpp
|
||||
$(CXX) bootloader.cpp -o BrainLILO.exe $(CXXFLAGS)
|
||||
$(STRIP) BrainLILO.exe
|
||||
|
||||
MyJITDebugger.exe: dummy.cpp
|
||||
$(CXX) dummy.cpp -o MyJITDebugger.exe $(CXXFLAGS)
|
||||
$(STRIP) MyJITDebugger.exe
|
Loading…
Reference in New Issue
Block a user