From 5c3c3cf9cd0c70a4bf3d11768c0fe368e5cc0c39 Mon Sep 17 00:00:00 2001 From: sroccaserra Date: Sat, 14 Sep 2024 10:09:33 +0200 Subject: [PATCH] r Make the exe the default target in gemtext tool --- gemtext_to_html/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gemtext_to_html/Makefile b/gemtext_to_html/Makefile index da62b62..d329207 100644 --- a/gemtext_to_html/Makefile +++ b/gemtext_to_html/Makefile @@ -1,6 +1,7 @@ MAKEFLAGS += --warn-undefined-variables SHELL := bash .SHELLFLAGS := -eu -o pipefail -c +.DEFAULT_GOAL := main CFLAGS := -g -Og @@ -12,8 +13,6 @@ MAIN_DEPENDENCIES := src/gemtext_to_html.c \ src/text.h MAIN_C_FILES := $(filter %.c,$(MAIN_DEPENDENCIES)) -default: test - ############### # ~ Running ~ # ############### @@ -64,6 +63,9 @@ mem_check: # ~ Building ~ # ################ +.PHONY: main +main: build/gemtext_to_html + build: @mkdir -p build -- 2.45.2