diff bootmatch/Makefile @ 9:bfcc8180cf3c

bootmatch compiler written
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 10 Jun 2023 02:55:29 +0000
parents
children 39b921d851fb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bootmatch/Makefile	Sat Jun 10 02:55:29 2023 +0000
@@ -0,0 +1,12 @@
+CC=	gcc
+CFLAGS=	-O2
+BMC_PROG=bm-comp
+BMC_OBJS=comp_main.o comp_output.o comp_ranges.o comp_readbin.o
+
+all:	${BMC_PROG}
+
+${BMC_PROG}:	${BMC_OBJS}
+	${CC} ${CFLAGS} -o $@ ${BMC_OBJS}
+
+clean:
+	rm -f *.o ${BMC_PROG}