Commit Diff


commit - 6b78d24c31854c4d4552ac3e96e36ba8f0090926
commit + a3c5f7451a331d0fe85e1bfb3873b90944df0b63
blob - 34f05e875c94d22ba9c286b7ebcffce4bfebb8b6
blob + 1b3d8faa12e3ed84c672663f6643a41965d9142e
--- Makefile
+++ Makefile
@@ -47,3 +47,8 @@ install: gmid
 
 compile_flags.txt:
 	printf "%s\n" ${CFLAGS} > compile_flags.txt
+
+# make sure we pass -o to ${CC}.  OpenBSD default suffix rule doesn't
+.SUFFIXES: .c .o
+.c.o:
+	${CC} ${CFLAGS} -c $< -o $@