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:
joshholtrop 2009-07-22 17:20:37 +00:00
parent 62d81f79ef
commit df70e2122e
4 changed files with 29 additions and 0 deletions

15
Makefile Executable file
View 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
View 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
View File

0
resources.rc Executable file
View File