summaryrefslogtreecommitdiff
path: root/util/superiotool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/superiotool/Makefile')
-rw-r--r--util/superiotool/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index fa9853a90b..cf96d67c7a 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -28,16 +28,18 @@ PREFIX = /usr/local
CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
-Werror-implicit-function-declaration
+OBJS = fintek.o ite.o nsc.o superiotool.o
+
all: $(PROGRAM)
-$(PROGRAM): $(PROGRAM).c
- $(CC) $(CFLAGS) -o $@ $<
+$(PROGRAM): $(OBJS)
+ $(CC) $(CFLAGS) -o $(PROGRAM) $(OBJS)
install: $(PROGRAM)
$(INSTALL) $(PROGRAM) $(PREFIX)/bin
clean:
- rm -f $(PROGRAM)
+ rm -f $(PROGRAM) *.o
.PHONY: all install clean