mirror of
https://github.com/vxcontrol/MemoryModule.git
synced 2026-07-21 22:26:40 -04:00
added makefiles to compile with mingw
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
*.o
|
||||
*.exe
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
typedef int (*addNumberProc)(int, int);
|
||||
|
||||
#define DLL_FILE "..\\..\\SampleDLL\\Debug\\SampleDLL.dll"
|
||||
#define DLL_FILE "..\\SampleDLL\\SampleDLL.dll"
|
||||
|
||||
void LoadFromFile(void)
|
||||
{
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
CC = gcc
|
||||
CPP = g++
|
||||
LINK = ld
|
||||
CFLAGS = -Wall -g
|
||||
LDFLAGS =
|
||||
|
||||
OBJ = DllLoader.o ../../MemoryModule.o
|
||||
|
||||
DllLoader.exe: $(OBJ)
|
||||
$(CC) $(LDFLAGS) -o DllLoader.exe $(OBJ)
|
||||
|
||||
%.o: %.cpp
|
||||
$(CPP) $(CFLAGS) -c $<
|
||||
|
||||
%.o: %.cc
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
Reference in New Issue
Block a user