src/Makefile

changeset 74
ed9a5ffd1f13
parent 73
b383b1b61cbf
equal deleted inserted replaced
73:b383b1b61cbf 74:ed9a5ffd1f13
30 30
31 all: $(BUILD_DIR)/cline FORCE 31 all: $(BUILD_DIR)/cline FORCE
32 echo "Build successful." 32 echo "Build successful."
33 33
34 install: $(BUILD_DIR)/cline FORCE 34 install: $(BUILD_DIR)/cline FORCE
35 cd .. && cp "build/cline" "$(BINDIR)/cline" 35 cd .. && cp "build/cline" "$(bindir)/cline"
36 echo "Installed to: $(BINDIR)/cline" 36 echo "Installed to: $(bindir)/cline"
37 37
38 $(BUILD_DIR)/cline: $(OBJ) 38 $(BUILD_DIR)/cline: $(OBJ)
39 echo "Linking executable..." 39 echo "Linking executable..."
40 $(CC) $(LDFLAGS) -o $@ $^ 40 $(CC) $(LDFLAGS) -o $@ $^
41 41

mercurial