mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
25 lines
353 B
Makefile
25 lines
353 B
Makefile
# build and run various internal code verifiers
|
|
|
|
|
|
THINGS=flags
|
|
|
|
|
|
all: programs run
|
|
@:
|
|
|
|
programs: $(THINGS)
|
|
@:
|
|
|
|
flags: flags.c
|
|
$(BUILD) -I$(TOPDIR) -c flags.c
|
|
$(LINK) -L$(TOPDIR) -lmarkdown -o flags flags.o
|
|
|
|
run:
|
|
@for x in $(THINGS); do @LD_LIBRARY_PATH@=$(TOPDIR) ./$$x || exit 1; done
|
|
|
|
clean:
|
|
rm -f $(THINGS) *.o
|
|
|
|
spotless: clean
|
|
rm -f Makefile
|