diff options
-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... |