From: Laurent MAZET Date: Wed, 30 Apr 2025 17:16:34 +0000 (+0200) Subject: remove windows compilation X-Git-Tag: v1.0~29^2~22 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=94bc57a176d34096a2dd70af9b6e89583099bdc2;p=morep.git remove windows compilation --- diff --git a/makefile b/makefile index 5f2d0ae..67bb82c 100644 --- a/makefile +++ b/makefile @@ -39,7 +39,7 @@ endif # Targets -ALLEXE = $(shell for f in *.c; do grep -q '/\*\s*linker:' $$f && echo $${f/.c}; done) +ALLEXE = $(shell for f in *.c; do grep -q '/\*\s*$(LDOPT):' $$f && echo $${f/.c}; done) SHELL = bash @@ -66,7 +66,7 @@ GETCOMMENTS = awk '/\/\*[ \t]*$(1):/,/\*\// { sub(/.*\/\*[ \t]*$(1):/, ""); sub ## Generic rules all: depends - $(MAKE) $(ALLEXE:%=%.exe) + [ "$(ALLEXE)" ] || { $(call FAIL,no exec to proceed); test; } && $(MAKE) $(ALLEXE:%=%.exe) analyze: make purge diff --git a/morep_simulator.c b/morep_simulator.c index f85e826..19aff59 100644 --- a/morep_simulator.c +++ b/morep_simulator.c @@ -15,7 +15,6 @@ /* depend: */ /* cflags: */ /* linker: morep.o parse.o pdu_channel.o pdu_encrypted_data.o pdu_prng_param.o pdu_status.o pdu_clear_data.o pdu_key.o pdu_raw_data.o */ -/* winlnk: morep.o parse.o pdu_channel.o pdu_encrypted_data.o pdu_prng_param.o pdu_status.o pdu_clear_data.o pdu_key.o pdu_raw_data.o */ #include #include diff --git a/morep_test.c b/morep_test.c index f54b250..846533f 100644 --- a/morep_test.c +++ b/morep_test.c @@ -15,7 +15,6 @@ /* depend: */ /* cflags: */ /* linker: morep.o */ -/* winlnk: morep.o */ #include #include diff --git a/morep_valid.c b/morep_valid.c index 7aeb517..40602cd 100644 --- a/morep_valid.c +++ b/morep_valid.c @@ -15,7 +15,6 @@ /* depend: */ /* cflags: */ /* linker: morep.o parse.o pdu_raw_data.o */ -/* winlnk: morep.o parse.o pdu_raw_data.o */ #include #include