diff options
-rw-r--r-- | util/ifdtool/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/util/ifdtool/Makefile b/util/ifdtool/Makefile index 7a1bcfac46..77547efc36 100644 --- a/util/ifdtool/Makefile +++ b/util/ifdtool/Makefile @@ -30,17 +30,16 @@ $(PROGRAM): $(OBJS) clean: rm -f $(PROGRAM) *.o *~ - distclean: clean - rm -f .dependencies dep: @$(CC) $(CFLAGS) -MM *.c > .dependencies +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + install: $(PROGRAM) mkdir -p $(DESTDIR)$(PREFIX)/bin $(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin .PHONY: all clean distclean dep - --include .dependencies |