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 committed 2009-07-22 17:20:37 +00:00
1 parent 62d81f79ef
commit df70e2122e
4 files changed
+29

No files matched your search

Executable
+15
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)
Executable
+14
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;
}
Executable
View File
Whitespace-only changes.
Executable
View File
Whitespace-only changes.