diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-03-29 23:25:17 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-03-29 23:25:17 -0400 |
commit | b8e878fa6ca53f214a2336fb7b5cc68e8b801845 (patch) | |
tree | e54a3e4ed407418e03734da0ceaf2a950ff6d732 /Makefile | |
parent | f60b2add323ddb21675383b5461aa03e95755d2b (diff) |
named binary properly in make
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,9 +1,10 @@ .POSIX: .PHONY: all clean -OBJS = badroff.o sb.o +OBJS = badroff.o sb.o buf.o badroff: $(OBJS) - $(CC) $(OBJS) + $(CC) $(OBJS) -o $@ badroff.o: badroff.c sb.h sb.o: sb.c sb.h +buf.o: buf.c buf.h clean: rm -f badroff $(OBJS) |