remove windows compilation
authorLaurent MAZET <laurent.mazet@thalesgroup.com>
Wed, 30 Apr 2025 17:16:34 +0000 (19:16 +0200)
committerLaurent MAZET <laurent.mazet@thalesgroup.com>
Wed, 30 Apr 2025 17:16:34 +0000 (19:16 +0200)
makefile
morep_simulator.c
morep_test.c
morep_valid.c

index 5f2d0aea154b46e3c621bc6f6631838451f14b28..67bb82cd51acf3bad5df4076106c21283fc8ad0b 100644 (file)
--- 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
index f85e8261aee2b741e59f2a68d939554aa044bbe0..19aff5967051cbe46b57cc64e435da8320b6f78a 100644 (file)
@@ -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 <errno.h>
 #include <signal.h>
index f54b25033650aac398b6d4b6ccee26a0b3a7b310..846533fffb3eec3bbd347377d236ee12644d28c6 100644 (file)
@@ -15,7 +15,6 @@
 /* depend: */
 /* cflags: */
 /* linker: morep.o */
-/* winlnk: morep.o */
 
 #include <errno.h>
 #include <signal.h>
index 7aeb5175bf42594dc333dd0fd205f91a87c110f9..40602cdacb8826d29ad6b10944c3d3ab04bbb824 100644 (file)
@@ -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 <errno.h>
 #include <signal.h>