aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authors-over-42023-09-30 16:59:13 -0400
committers-over-42023-09-30 16:59:13 -0400
commit2569231ab9876d59a5e14261bae81dca4d24e4e3 (patch)
treebff30779f3debbc604ec2da3d41f672f531be67e /Makefile
parentf675656431075450714f2a1054ea8db3a2897e26 (diff)
use flag vars for preprocessor states
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 5d23c0e..3b0de22 100644
--- a/Makefile
+++ b/Makefile
@@ -17,18 +17,18 @@ options:
@$(eval $@_ULINE := $(shell echo "$($@_TITLE)" | tr '[:print:]' '='))
@echo "$($@_TITLE)"
@echo "$($@_ULINE)"
- @echo "cc: $(CC) "
- @echo "flags: $(FLAGS) "
- @echo " "
+ @echo "cc: $(CC)"
+ @echo "flags: $(FLAGS)"
+ @echo ""
devoptions:
@$(eval $@_TITLE := "$(NAME) build options \(development\)")
@$(eval $@_ULINE := $(shell echo "$($@_TITLE)" | tr '[:print:]' '='))
@echo "$($@_TITLE)"
@echo "$($@_ULINE)"
- @echo "cc: $(CC) "
- @echo "flags: $(DEVFLAGS) "
- @echo " "
+ @echo "cc: $(CC)"
+ @echo "flags: $(DEVFLAGS)"
+ @echo ""
HALK: $(OBJS)
$(CC) $(OBJS) $(FLAGS) -o $(TMPBIN)
@@ -49,7 +49,6 @@ clean:
%.o: %.c include/%.h
$(CC) -c $(FLAGS) $< -o $@
-# fun
me:
@[ "$(USER)" = "root" ] && echo "Okay." || echo "What? Make it yourself."