From 6632d210375a728be9abbee93bcdeb32ce4d8201 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 24 Aug 2012 13:54:17 +0200 Subject: renamed resource script and updated README --- Makefile | 8 +++++--- README.md | 1 - icon.rc | 4 ---- kephra.rc | 4 ++++ 4 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 icon.rc create mode 100644 kephra.rc diff --git a/Makefile b/Makefile index c5d952a..bcd779d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ CC := gcc RC := windres -PERL := perl +#PERL := perl +PERL := /c/strawberry/perl/bin/perl + PERL_CCOPTS := $(shell $(PERL) -MExtUtils::Embed -e ccopts) #PERL_LDOPTS := $(shell $(PERL) -MExtUtils::Embed -e ldopts) PERL_LDOPTS := -L/c/strawberry/perl/lib/CORE -lperl510 @@ -15,10 +17,10 @@ all : kephra.exe starter_xsi.c: $(PERL) -MExtUtils::Embed -e xsinit -- -o $@ -icon.o : icon.rc kephra_proton.ico kephra.manifest +kephra.o : kephra.rc kephra_proton.ico kephra.manifest $(RC) $< $@ -kephra.exe : starter.o starter_xsi.o icon.o +kephra.exe : starter.o starter_xsi.o kephra.o $(CC) -o $@ $^ $(LDFLAGS) clean: diff --git a/README.md b/README.md index 0dfb951..b35054c 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,5 @@ ## TODO * display Perl errors in MessageBox -* link .manifest files as resources into the binary due to popular demand the starter might evolve into a generic Perl interpreter wrapper with support for reconfiguration without recompilation... diff --git a/icon.rc b/icon.rc deleted file mode 100644 index 7e7262c..0000000 --- a/icon.rc +++ /dev/null @@ -1,4 +0,0 @@ -#include - -DEFAULT ICON "kephra_proton.ico" -1 RT_MANIFEST "kephra.manifest" diff --git a/kephra.rc b/kephra.rc new file mode 100644 index 0000000..7e7262c --- /dev/null +++ b/kephra.rc @@ -0,0 +1,4 @@ +#include + +DEFAULT ICON "kephra_proton.ico" +1 RT_MANIFEST "kephra.manifest" -- cgit v1.2.3