Initial pppc build structure in place
git-svn-id: http://apu.dw.local/svnusers/JoshHoltrop/pppc/trunk@30 8131a0b2-b21c-1c47-bd6a-f003126495bd
This commit is contained in:
parent
62d81f79ef
commit
df70e2122e
15
Makefile
Executable file
15
Makefile
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
TARGET := pppc.exe
|
||||||
|
OBJS := pppc.o
|
||||||
|
CXXFLAGS := -O2 -Wall
|
||||||
|
|
||||||
|
all: $(TARGET)
|
||||||
|
|
||||||
|
$(TARGET): $(OBJS)
|
||||||
|
$(CXX) -o $@ $^ $(LDFLAGS)
|
||||||
|
|
||||||
|
%.o: %.rc
|
||||||
|
windres $< $@
|
||||||
|
|
||||||
|
%.o: %.cc
|
||||||
|
$(CXX) -c -o $@ $< $(CPPFLAGS) $(CXXFLAGS)
|
14
pppc.cc
Executable file
14
pppc.cc
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
#include <iostream>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int WinMain(
|
||||||
|
HINSTANCE hInstance,
|
||||||
|
HINSTANCE hPrevInstance,
|
||||||
|
LPSTR lpCmdLine,
|
||||||
|
int nCmdShow)
|
||||||
|
{
|
||||||
|
cerr << "Hi there" << endl;
|
||||||
|
return 0;
|
||||||
|
}
|
0
resources.h
Executable file
0
resources.h
Executable file
0
resources.rc
Executable file
0
resources.rc
Executable file
Loading…
x
Reference in New Issue
Block a user