diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-08-24 13:54:17 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-08-24 13:54:17 +0200 |
commit | 6632d210375a728be9abbee93bcdeb32ce4d8201 (patch) | |
tree | 917acde68b9fecb5fa13c088ed8306792ea9c004 | |
parent | 700a6dee1e9b6a1b5b28bab9dca9d7f9996823f5 (diff) | |
download | perl-starter-6632d210375a728be9abbee93bcdeb32ce4d8201.tar.gz |
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | kephra.rc (renamed from icon.rc) | 0 |
3 files changed, 5 insertions, 4 deletions
@@ -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: @@ -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... |