1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
--- a/Makefile +++ b/Makefile @@ -1,13 +1,9 @@ EXE = daa2iso -CFLAGS += -O2 -s PREFIX = /usr/local BINDIR = $(PREFIX)/bin SRC = $(EXE).c -all: - $(CC) $(CFLAGS) -c LzmaDec.c - $(CC) $(CFLAGS) -c tinflate.c - $(CC) $(SRC) $(CFLAGS) -o $(EXE) LzmaDec.o tinflate.o +$(EXE): LzmaDec.o tinflate.o install: install -m 755 -d $(BINDIR)