diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -5,21 +5,21 @@ PERL := 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 -
-CFLAGS := $(PERL_CCOPTS) -std=gnu99
-CPPFLAGS :=
-LDFLAGS := $(PERL_LDOPTS) -Wl,--subsystem,windows
-
-all : kephra.exe
+ +CFLAGS := $(PERL_CCOPTS) -std=gnu99 +CPPFLAGS := +LDFLAGS := $(PERL_LDOPTS) -Wl,--subsystem,windows + +all : kephra.exe starter_xsi.c: $(PERL) -MExtUtils::Embed -e xsinit -- -o $@ icon.o : icon.rc kephra_proton.ico $(RC) $< $@ -
-kephra.exe : starter.o starter_xsi.o icon.o
- $(CC) -o $@ $^ $(LDFLAGS)
+ +kephra.exe : starter.o starter_xsi.o icon.o + $(CC) -o $@ $^ $(LDFLAGS) clean: rm -f *.o starter_xsi.c kephra.exe |