diff test/Makefile @ 2:f12b5dd4e18c

*: many new operations and a real test suite
author Paper <paper@tflc.us>
date Tue, 22 Oct 2024 22:39:05 -0400
parents
children 3c5545b1568f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/Makefile	Tue Oct 22 22:39:05 2024 -0400
@@ -0,0 +1,12 @@
+_CFLAGS = -g -O2 -I../include $(CFLAGS)
+
+_LDFLAGS = $(LDFLAGS)
+
+.c.o:
+	$(CC) -c $(_CFLAGS) $< -o $@
+
+main: main.o
+	$(CC) $(_CFLAGS) -o $@ $^ $(_LDFLAGS)
+
+clean:
+	$(RM) main main.o
\ No newline at end of file