From 94bc57a176d34096a2dd70af9b6e89583099bdc2 Mon Sep 17 00:00:00 2001 From: Laurent MAZET Date: Wed, 30 Apr 2025 19:16:34 +0200 Subject: [PATCH] remove windows compilation --- makefile | 4 ++-- morep_simulator.c | 1 - morep_test.c | 1 - morep_valid.c | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) 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 -- 2.30.2