aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorc2023-12-13 14:49:19 -0500
committerc2023-12-13 14:49:19 -0500
commit6a966d621c48118ab1a97db13473b78b2884ace1 (patch)
treef0607da8284f4081970325c37eb7ea409de68a9f /Makefile
parentd8fcdcc5491ae053ebf0586a8093cda6781af51a (diff)
Added tests again.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6d53b86..a50dbbf 100644
--- a/Makefile
+++ b/Makefile
@@ -30,11 +30,12 @@ halk: reg_options $(OBJS)
$(CC) $(OBJS) $(REG_CFLAGS) -o $(BIN).out
dbg: CFLAGS := $(DBG_CFLAGS)
+dbg: TEST := -D TEST
dbg: dbg_options $(OBJS)
$(CC) $(OBJS) $(DBG_CFLAGS) -o $(BIN).out
%.o: %.c
- $(CC) -c $< -o $@
+ $(CC) $(TEST) -c $< -o $@
install: all
mkdir -p $(PREFIX)