# 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
## Generic rules
all: depends
- $(MAKE) $(ALLEXE:%=%.exe)
+ [ "$(ALLEXE)" ] || { $(call FAIL,no exec to proceed); test; } && $(MAKE) $(ALLEXE:%=%.exe)
analyze:
make purge
/* 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>